We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f81a14 commit 2c62676Copy full SHA for 2c62676
ui/src/views/dashboard/UsageDashboard.vue
@@ -142,10 +142,8 @@ export default {
142
(newValue, oldValue) => {
143
if (newValue && newValue.id && (!oldValue || newValue.id !== oldValue.id)) {
144
this.fetchData()
145
- } else if (store.getters.userInfo.roletype !== 'Admin') {
146
- if (!store.getters.logoutFlag) {
147
- this.fetchData()
148
- }
+ } else if (store.getters.userInfo.roletype !== 'Admin' && !store.getters.logoutFlag) {
+ this.fetchData()
149
}
150
151
)
0 commit comments