mirror of https://github.com/apache/cloudstack.git
Don't fetch data during logout
This commit is contained in:
parent
c0128e2f9a
commit
0f81a142a6
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue