Skip to content

Commit

Permalink
Merge pull request #303 from hotwax/#293_manage_facilities
Browse files Browse the repository at this point in the history
Fixed: Cleared query string on tab change in order to get the correct data in parent group tab (#293).
  • Loading branch information
ravilodhi authored Aug 27, 2024
2 parents 3ca5721 + fb0423c commit 4b3b8c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/views/FindGroups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,13 @@ export default defineComponent({
await this.fetchGroups();
},
methods: {
resetParentGroupPage() {
async resetParentGroupPage() {
if (this.segment === 'facility-groups') {
this.currentFacilityGroupTypeId = ''
this.isParentGroupDetailAnimationCompleted = false;
} else {
this.query.queryString = ""
await this.updateQuery()
}
},
setCurrentFacilityGroupType(facilityGroupTypeId: string) {
Expand Down

0 comments on commit 4b3b8c3

Please sign in to comment.