From d11d3060ea67be2237eb61fe23068bb8018b5958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Tejero=20Cantero?= Date: Thu, 16 Jul 2026 23:36:14 +0200 Subject: [PATCH] :bug: Restore fold-containers as the combo master gate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since fold-unchanged and depth folding arrived, withCombos ORed them in, so unchecking "fold containers" could no longer remove the combo boxes. The checkbox is the gate again; the derived fold rules are dormant without it. Signed-off-by: Álvaro Tejero Cantero --- backend/resources/app/templates/graph-console.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/resources/app/templates/graph-console.tmpl b/backend/resources/app/templates/graph-console.tmpl index 894e237d20..6023bafdb3 100644 --- a/backend/resources/app/templates/graph-console.tmpl +++ b/backend/resources/app/templates/graph-console.tmpl @@ -1070,8 +1070,9 @@ Graph Console } if (anywayBtn) anywayBtn.style.display = "none"; graphViewStatus.textContent = graphStatusText(data) + filterNote; - renderGraph(toG6Data(shown, collapsedComboIds(), - foldEnabled() || diffFoldEnabled() || depthFoldValue() != null, + // "fold containers" is the master gate for combo rendering; the + // derived fold rules (fold-unchanged, depth) are dormant without it. + renderGraph(toG6Data(shown, collapsedComboIds(), foldEnabled(), LAYOUTS[currentLayoutName()] == null, diffFoldEnabled())); }