Skip to content

Commit 0f46e45

Browse files
blimpichOSBotify
authored andcommitted
Merge pull request #92445 from Expensify/blimpich-fixAllPoliciesSearchFiltersParticipants
[NO QA] Re-add allPolicies binding in SearchFiltersParticipantsSelector (cherry picked from commit b8898bf) (cherry-picked to staging by lakchote)
1 parent 86c6949 commit 0f46e45

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/Search/SearchFiltersParticipantsSelector.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function SearchFiltersParticipantsSelector({initialAccountIDs, onFiltersUpdate,
6565
const currentUserAccountID = currentUserPersonalDetails.accountID;
6666
const currentUserEmail = currentUserPersonalDetails.email ?? '';
6767
const [recentAttendees] = useOnyx(ONYXKEYS.NVP_RECENT_ATTENDEES);
68+
const [allPolicies] = useOnyx(ONYXKEYS.COLLECTION.POLICY);
6869

6970
// Only the attendee filter feeds recentAttendees into the picker; other filters use empty list.
7071
const recentAttendeeLists = shouldAllowNameOnlyOptions ? getFilteredRecentAttendees(personalDetails, [], recentAttendees ?? [], currentUserEmail, currentUserAccountID) : [];

0 commit comments

Comments
 (0)