Skip to content

Commit

Permalink
fixed facility search offset
Browse files Browse the repository at this point in the history
  • Loading branch information
GokulramGHV committed Nov 8, 2022
1 parent 898f762 commit 149e245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Facility/HospitalList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const HospitalList = (props: any) => {
facility_type: qParams.facility_type,
kasp_empanelled: qParams.kasp_empanelled,
};

if (params.search_text) params.offset = 0;
const res = await dispatchAction(getPermittedFacilities(params));
if (!status.aborted) {
if (res && res.data) {
Expand Down

0 comments on commit 149e245

Please sign in to comment.