Skip to content

Commit

Permalink
Fix : Advanced Filters Autofilling on Revisit to Patient Tab (ohcnetw…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahendar0701 authored and UdaySagar-Git committed Dec 3, 2024
1 parent 992a78c commit 587783c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Patient/ManagePatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,10 @@ export const PatientManager = () => {
/>
</div>
<div>
<PatientFilter {...advancedFilter} key={window.location.search} />
<PatientFilter
{...advancedFilter}
key={JSON.stringify(advancedFilter.filter)}
/>
<TabPanel value={tabValue} index={0}>
<div className="mb-4">{managePatients}</div>
</TabPanel>
Expand Down

0 comments on commit 587783c

Please sign in to comment.