Skip to content

Commit

Permalink
Merge pull request #1052 from MTES-MCT/fix-establishment-select
Browse files Browse the repository at this point in the history
Allow admins to fetch unavailable establishments
  • Loading branch information
Falinor authored Dec 24, 2024
2 parents 78653fa + f230d76 commit fbd9837
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function EstablishmentSearchableSelect(props: Props) {

async function search(query: string | undefined): Promise<void> {
if (query) {
await findEstablishments({ query, available: true }).unwrap();
await findEstablishments({ query }).unwrap();
}
}

Expand Down

0 comments on commit fbd9837

Please sign in to comment.