File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import useResponsiveLayout from '@hooks/useResponsiveLayout';
1818import useThemeStyles from '@hooks/useThemeStyles' ;
1919import { openReport } from '@libs/actions/Report' ;
2020import { completeTestDriveTask } from '@libs/actions/Task' ;
21+ import { setSelfTourViewed } from '@libs/actions/Welcome' ;
2122import Log from '@libs/Log' ;
2223import Navigation from '@libs/Navigation/Navigation' ;
2324import { isAdminRoom } from '@libs/ReportUtils' ;
@@ -58,6 +59,8 @@ function TestDriveDemo() {
5859 return ;
5960 }
6061 if ( ! viewTourTaskReport ) {
62+ // Fallback for accounts with no viewTour task — otherwise selfTourViewed never gets set.
63+ setSelfTourViewed ( ) ;
6164 if ( conciergeReportID && ! hasCalledOpenReportRef . current ) {
6265 hasCalledOpenReportRef . current = true ;
6366 openReport ( { reportID : conciergeReportID , introSelected, betas} ) ;
You can’t perform that action at this time.
0 commit comments