From 6f3cb5eabb7b2224d04ec10f151f67c0955a5cfd Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 23 Jun 2025 18:00:21 +0200 Subject: [PATCH] fix: fix conditional wrappre --- .../apps/components/layout/AppConditionalWrapper.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/apps/components/layout/AppConditionalWrapper.svelte b/frontend/src/lib/components/apps/components/layout/AppConditionalWrapper.svelte index d3618b6bed..e1626b3fbb 100644 --- a/frontend/src/lib/components/apps/components/layout/AppConditionalWrapper.svelte +++ b/frontend/src/lib/components/apps/components/layout/AppConditionalWrapper.svelte @@ -64,7 +64,6 @@ const firstTrueIndex = slicedArray.findIndex((c) => c) outputs.conditions.set(slicedArray, true) - setSelectedIndex(firstTrueIndex) } @@ -80,6 +79,7 @@ } $effect.pre(() => { + resolvedConditions && resolvedConditions.forEach((c) => c) resolvedConditions && untrack(() => handleResolvedConditions()) })