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'); + } }); } });