Skip to content

Commit 056771e

Browse files
NikkiWinesOSBotify
authored andcommitted
Merge pull request #86099 from mkzie2/mkzie2-issue/86088
(cherry picked from commit f66174c) (cherry-picked to staging by grgia)
1 parent 9069e32 commit 056771e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hooks/useSearchSelector.base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)