File tree Expand file tree Collapse file tree
src/pages/settings/Troubleshoot Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ function TroubleshootPage() {
5555 const [ shouldStoreLogs ] = useOnyx ( ONYXKEYS . SHOULD_STORE_LOGS , { canBeMissing : true } ) ;
5656 const [ shouldMaskOnyxState = true ] = useOnyx ( ONYXKEYS . SHOULD_MASK_ONYX_STATE , { canBeMissing : true } ) ;
5757 const { resetOptions} = useOptionsList ( { shouldInitialize : false } ) ;
58- const [ tryNewDot ] = useOnyx ( ONYXKEYS . NVP_TRY_NEW_DOT , { canBeMissing : true } ) ;
58+ const [ tryNewDot ] = useOnyx ( ONYXKEYS . NVP_TRY_NEW_DOT , { canBeMissing : true } ) ;
59+ const shouldOpenSurveyReasonPage = tryNewDot ?. classicRedirect ?. dismissed === false ;
5960 const { setShouldResetSearchQuery} = useSearchContext ( ) ;
6061 const exportOnyxState = useCallback ( ( ) => {
6162 ExportOnyxState . readFromOnyxDatabase ( ) . then ( ( value : Record < string , unknown > ) => {
You can’t perform that action at this time.
0 commit comments