Skip to content

Commit

Permalink
Merge pull request #589 from amansinghbais/#587
Browse files Browse the repository at this point in the history
Improved: reseting the filtered facilities on segment change (#528)
  • Loading branch information
ymaheshwari1 authored Jan 8, 2025
2 parents 68723fc + f64cb5f commit 669dd89
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/views/HardCount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ function handleSegmentChange() {
selectedFacilityIds.value = [];
selectedFacilityGroupId.value = "";
queryString.value = "";
if(selectedSegment.value === "group") {
facilities.value = []
} else {
fetchFacilities()
}
}
function enableScrolling() {
Expand Down

0 comments on commit 669dd89

Please sign in to comment.