From 9473f0cad1d764c94c860a5fe2becf192c1a85e4 Mon Sep 17 00:00:00 2001 From: inventarSarah Date: Wed, 3 Jun 2026 12:07:41 +0200 Subject: [PATCH] don't unhide content explicitly hidden for the dependency option --- src/components/onboarding/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/onboarding/index.tsx b/src/components/onboarding/index.tsx index d3516b188675b..a0a43af5e60e0 100644 --- a/src/components/onboarding/index.tsx +++ b/src/components/onboarding/index.tsx @@ -235,7 +235,11 @@ export function updateElementsVisibilityForOptions( ); dependencies.forEach(dep => { - dep.classList.remove('hidden'); + // don't unhide content explicitly hidden for the dependency option + const hiddenForThisOption = dep.dataset.hideForThisOption === 'true'; + if (!hiddenForThisOption) { + dep.classList.remove('hidden'); + } }); } });