@@ -258,7 +258,6 @@ function useSearchSelectorBase({
258258 } ) ;
259259 case CONST . SEARCH_SELECTOR . SEARCH_CONTEXT_GENERAL :
260260 return getValidOptions ( optionsWithContacts , allPolicies , draftComments , nvpDismissedProductTraining , loginList , currentUserAccountID , currentUserEmail , {
261- ...getValidOptionsConfig ,
262261 betas : betas ?? [ ] ,
263262 searchString : computedSearchTerm ,
264263 searchInputValue : trimmedSearchInput ,
@@ -277,6 +276,7 @@ function useSearchSelectorBase({
277276 countryCode,
278277 reportAttributesDerived : reportAttributesDerived ?. reports ,
279278 allPolicyTags,
279+ ...getValidOptionsConfig ,
280280 } ) ;
281281 case CONST . SEARCH_SELECTOR . SEARCH_CONTEXT_SHARE_DESTINATION :
282282 return getValidOptions ( optionsWithContacts , allPolicies , draftComments , nvpDismissedProductTraining , loginList , currentUserAccountID , currentUserEmail , {
@@ -303,7 +303,6 @@ function useSearchSelectorBase({
303303 } ) ;
304304 case CONST . SEARCH_SELECTOR . SEARCH_CONTEXT_ATTENDEES :
305305 return getValidOptions ( optionsWithContacts , allPolicies , draftComments , nvpDismissedProductTraining , loginList , currentUserAccountID , currentUserEmail , {
306- ...getValidOptionsConfig ,
307306 betas : betas ?? [ ] ,
308307 includeP2P : true ,
309308 includeSelectedOptions : false ,
@@ -322,6 +321,7 @@ function useSearchSelectorBase({
322321 countryCode,
323322 reportAttributesDerived : reportAttributesDerived ?. reports ,
324323 allPolicyTags,
324+ ...getValidOptionsConfig ,
325325 } ) ;
326326 default :
327327 return getEmptyOptions ( ) ;
0 commit comments