File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import AdminTestDriveModal from './AdminTestDriveModal';
66import EmployeeTestDriveModal from './EmployeeTestDriveModal' ;
77
88function TestDriveModal ( ) {
9- const [ introSelected ] = useOnyx ( ONYXKEYS . NVP_INTRO_SELECTED , { canBeMissing : false } ) ;
9+ const [ introSelected ] = useOnyx ( ONYXKEYS . NVP_INTRO_SELECTED , { canBeMissing : true } ) ;
1010 const isAdminTester = introSelected ?. choice === CONST . ONBOARDING_CHOICES . MANAGE_TEAM || introSelected ?. choice === CONST . ONBOARDING_CHOICES . TRACK_WORKSPACE ;
1111
1212 return isAdminTester ? < AdminTestDriveModal /> : < EmployeeTestDriveModal /> ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ function TestDriveDemo() {
2323 const styles = useThemeStyles ( ) ;
2424 const [ onboarding ] = useOnyx ( ONYXKEYS . NVP_ONBOARDING , { canBeMissing : false } ) ;
2525 const [ onboardingReport ] = useOnyx ( `${ ONYXKEYS . COLLECTION . REPORT } ${ onboarding ?. chatReportID } ` , { canBeMissing : true } ) ;
26- const [ introSelected ] = useOnyx ( ONYXKEYS . NVP_INTRO_SELECTED , { canBeMissing : false } ) ;
26+ const [ introSelected ] = useOnyx ( ONYXKEYS . NVP_INTRO_SELECTED , { canBeMissing : true } ) ;
2727 const viewTourReportID = introSelected ?. viewTour ;
2828 const [ viewTourReport ] = useOnyx ( `${ ONYXKEYS . COLLECTION . REPORT } ${ viewTourReportID } ` , { canBeMissing : true } ) ;
2929 const { testDrive} = useOnboardingMessages ( ) ;
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ function IOURequestStepConfirmation({
189189 const [ isConfirmed , setIsConfirmed ] = useState ( false ) ;
190190 const [ isConfirming , setIsConfirming ] = useState ( false ) ;
191191
192- const [ introSelected ] = useOnyx ( ONYXKEYS . NVP_INTRO_SELECTED , { canBeMissing : false } ) ;
192+ const [ introSelected ] = useOnyx ( ONYXKEYS . NVP_INTRO_SELECTED , { canBeMissing : true } ) ;
193193 const viewTourReportID = introSelected ?. viewTour ;
194194 const [ viewTourReport ] = useOnyx ( `${ ONYXKEYS . COLLECTION . REPORT } ${ viewTourReportID } ` , { canBeMissing : true } ) ;
195195
You can’t perform that action at this time.
0 commit comments