File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/lib/components/alerts Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 55 import { user } from ' $lib/stores/user' ;
66 import SendVerificationEmailModal from ' ../account/sendVerificationEmailModal.svelte' ;
77 import { page } from ' $app/stores' ;
8+ import { wizard , isNewWizardStatusOpen } from ' $lib/stores/wizard' ;
89
910 const hasUser = $derived (!! $user );
1011 const needsEmailVerification = $derived (hasUser && ! $user .emailVerification );
1112 const notOnOnboarding = $derived (! $page .route .id .includes (' /onboarding' ));
12- const shouldShowEmailBanner = $derived (hasUser && needsEmailVerification && notOnOnboarding );
13+ const notOnWizard = $derived (! $wizard .show && ! $isNewWizardStatusOpen );
14+ const shouldShowEmailBanner = $derived (hasUser && needsEmailVerification && notOnOnboarding && notOnWizard );
1315
1416 let showSendVerification = $state (false );
1517 </script >
You can’t perform that action at this time.
0 commit comments