Skip to content

Commit

Permalink
Location search fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amjithtitus09 committed Feb 6, 2025
1 parent 662f462 commit 322cf9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Location/LocationSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function LocationSearch({
queryKey: ["locations", facilityId, mode, search],
queryFn: query(locationApi.list, {
pathParams: { facility_id: facilityId },
queryParams: { mode, search },
queryParams: { mode, name: search },
}),
enabled: facilityId !== "preview",
});
Expand Down

0 comments on commit 322cf9d

Please sign in to comment.