Skip to content

Commit

Permalink
Fixed: Cleared query string on tab change in order to get the correct…
Browse files Browse the repository at this point in the history
… data in parent group tab (#293).
  • Loading branch information
ravilodhi committed Aug 27, 2024
1 parent 3ca5721 commit fb0423c
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 fb0423c

Please sign in to comment.