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 @@