@@ -65,7 +65,7 @@ function SearchPageHeaderInput({queryJSON, searchRouterListVisible, hideSearchRo
6565 const [ reports ] = useOnyx ( ONYXKEYS . COLLECTION . REPORT , { canBeMissing : true } ) ;
6666 const [ policies ] = useOnyx ( ONYXKEYS . COLLECTION . POLICY , { canBeMissing : false } ) ;
6767 const taxRates = useMemo ( ( ) => getAllTaxRates ( policies ) , [ policies ] ) ;
68- const [ nonPersonalAndWorkspaceCards ] = useOnyx ( ONYXKEYS . DERIVED . NON_PERSONAL_AND_WORKSPACE_CARD_LIST , { canBeMissing : true } ) ;
68+ const [ personalAndWorkspaceCards ] = useOnyx ( ONYXKEYS . DERIVED . PERSONAL_AND_WORKSPACE_CARD_LIST , { canBeMissing : true } ) ;
6969 const [ allFeeds ] = useOnyx ( ONYXKEYS . COLLECTION . SHARED_NVP_PRIVATE_DOMAIN_MEMBER , { canBeMissing : true } ) ;
7070 const [ feedKeysWithCards ] = useOnyx ( ONYXKEYS . COLLECTION . WORKSPACE_CARDS_LIST , { selector : feedKeysWithAssignedCardsSelector , canBeMissing : true } ) ;
7171 const { inputQuery : originalInputQuery } = queryJSON ;
@@ -75,7 +75,7 @@ function SearchPageHeaderInput({queryJSON, searchRouterListVisible, hideSearchRo
7575 PersonalDetails : personalDetails ,
7676 reports,
7777 taxRates,
78- cardList : nonPersonalAndWorkspaceCards ,
78+ cardList : personalAndWorkspaceCards ,
7979 cardFeeds : allFeeds ,
8080 policies,
8181 currentUserAccountID,
@@ -134,14 +134,14 @@ function SearchPageHeaderInput({queryJSON, searchRouterListVisible, hideSearchRo
134134 personalDetails ,
135135 reports ,
136136 taxRates ,
137- nonPersonalAndWorkspaceCards ,
137+ personalAndWorkspaceCards ,
138138 allFeeds ,
139139 policies ,
140140 currentUserAccountID ,
141141 translate ,
142142 ) ;
143143 setAutocompleteSubstitutions ( substitutionsMap ) ;
144- } , [ allFeeds , nonPersonalAndWorkspaceCards , originalInputQuery , personalDetails , reports , taxRates , policies , currentUserAccountID , translate ] ) ;
144+ } , [ allFeeds , personalAndWorkspaceCards , originalInputQuery , personalDetails , reports , taxRates , policies , currentUserAccountID , translate ] ) ;
145145
146146 useEffect ( ( ) => {
147147 if ( searchRouterListVisible ) {
@@ -404,7 +404,7 @@ function SearchPageHeaderInput({queryJSON, searchRouterListVisible, hideSearchRo
404404 ref = { listRef }
405405 personalDetails = { personalDetails }
406406 reports = { reports }
407- allCards = { nonPersonalAndWorkspaceCards }
407+ allCards = { personalAndWorkspaceCards }
408408 allFeeds = { allFeeds }
409409 textInputRef = { textInputRef }
410410 />
@@ -476,7 +476,7 @@ function SearchPageHeaderInput({queryJSON, searchRouterListVisible, hideSearchRo
476476 shouldSubscribeToArrowKeyEvents = { isAutocompleteListVisible }
477477 personalDetails = { personalDetails }
478478 reports = { reports }
479- allCards = { nonPersonalAndWorkspaceCards }
479+ allCards = { personalAndWorkspaceCards }
480480 allFeeds = { allFeeds }
481481 textInputRef = { textInputRef }
482482 />
0 commit comments