From dce19bd258e69a136e2ecf4fa8872ac1417e69f0 Mon Sep 17 00:00:00 2001 From: dtoro Date: Tue, 14 Jul 2026 11:04:47 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20PlanProgress=20template=20syntax=20error?= =?UTF-8?q?=20=E2=80=94=20multi-statement=20inline=20expression?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/lib/components/PlanProgress.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/src/lib/components/PlanProgress.svelte b/web/src/lib/components/PlanProgress.svelte index 36fdd7f..3753a2a 100644 --- a/web/src/lib/components/PlanProgress.svelte +++ b/web/src/lib/components/PlanProgress.svelte @@ -38,6 +38,12 @@ sheetSlug = targetSlug sheetOpen = true } + + function toggleGen(gen: number) { + if (openGens.has(gen)) openGens.delete(gen) + else openGens.add(gen) + openGens = new Set(openGens) + } {#if total > 0} @@ -56,7 +62,7 @@