Skip to content

Commit a43cb1b

Browse files
Don't fetch data during logout
1 parent a256604 commit a43cb1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/src/views/dashboard/UsageDashboard.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ export default {
143143
if (newValue && newValue.id && (!oldValue || newValue.id !== oldValue.id)) {
144144
this.fetchData()
145145
} else if (store.getters.userInfo.roletype !== 'Admin') {
146-
this.fetchData()
146+
if (!store.getters.logoutFlag) {
147+
this.fetchData()
148+
}
147149
}
148150
}
149151
)

0 commit comments

Comments
 (0)