Skip to content

Commit

Permalink
Don't fetch data during logout
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrishna-patnala committed Oct 10, 2023
1 parent a256604 commit a43cb1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/views/dashboard/UsageDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export default {
if (newValue && newValue.id && (!oldValue || newValue.id !== oldValue.id)) {
this.fetchData()
} else if (store.getters.userInfo.roletype !== 'Admin') {
this.fetchData()
if (!store.getters.logoutFlag) {
this.fetchData()
}
}
}
)
Expand Down

0 comments on commit a43cb1b

Please sign in to comment.