Skip to content

Commit

Permalink
fix(frontend): allow admins to fetch unavailable establishments
Browse files Browse the repository at this point in the history
  • Loading branch information
Falinor committed Dec 24, 2024
1 parent 78653fa commit f230d76
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 f230d76

Please sign in to comment.