Skip to content

Commit b8898bf

Browse files
authored
Merge pull request #92445 from Expensify/blimpich-fixAllPoliciesSearchFiltersParticipants
[NO QA] Re-add allPolicies binding in SearchFiltersParticipantsSelector
2 parents f0c56d8 + 61ea646 commit b8898bf

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)