From 61ea646aa94c539be851e7b6b40efbd32cc95743 Mon Sep 17 00:00:00 2001 From: Ben Limpich Date: Tue, 2 Jun 2026 15:50:56 -0700 Subject: [PATCH] Re-add allPolicies binding in SearchFiltersParticipantsSelector --- src/components/Search/SearchFiltersParticipantsSelector.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Search/SearchFiltersParticipantsSelector.tsx b/src/components/Search/SearchFiltersParticipantsSelector.tsx index bfe890e3c02f..1200dc7f1202 100644 --- a/src/components/Search/SearchFiltersParticipantsSelector.tsx +++ b/src/components/Search/SearchFiltersParticipantsSelector.tsx @@ -65,6 +65,7 @@ function SearchFiltersParticipantsSelector({initialAccountIDs, onFiltersUpdate, const currentUserAccountID = currentUserPersonalDetails.accountID; const currentUserEmail = currentUserPersonalDetails.email ?? ''; const [recentAttendees] = useOnyx(ONYXKEYS.NVP_RECENT_ATTENDEES); + const [allPolicies] = useOnyx(ONYXKEYS.COLLECTION.POLICY); // Only the attendee filter feeds recentAttendees into the picker; other filters use empty list. const recentAttendeeLists = shouldAllowNameOnlyOptions ? getFilteredRecentAttendees(personalDetails, [], recentAttendees ?? [], currentUserEmail, currentUserAccountID) : [];