diff --git a/code/lib/manager-api/src/modules/whatsnew.ts b/code/lib/manager-api/src/modules/whatsnew.ts index 21d0596683f6..5890eaae6fc7 100644 --- a/code/lib/manager-api/src/modules/whatsnew.ts +++ b/code/lib/manager-api/src/modules/whatsnew.ts @@ -73,10 +73,12 @@ export const init: ModuleFn = ({ fullAPI, store }) => { const whatsNewData = await getLatestWhatsNewPost(); setWhatsNewState(whatsNewData); - const isNewStoryBookUser = fullAPI.getUrlState().path.includes('onboarding'); + const urlState = fullAPI.getUrlState(); + const isOnboardingView = + urlState?.path === '/onboarding' || urlState.queryParams?.onboarding === 'true'; if ( - !isNewStoryBookUser && + !isOnboardingView && whatsNewData.status === 'SUCCESS' && !whatsNewData.disableWhatsNewNotifications && whatsNewData.showNotification