mirror of https://github.com/apache/cloudstack.git
ui: Refresh Usage dashboard when swapping between Project and Default view (#5447)
This commit is contained in:
parent
3f827ef22b
commit
4b1fc195cf
|
|
@ -137,7 +137,7 @@ export default {
|
|||
this.$store.watch(
|
||||
(state, getters) => getters.project,
|
||||
(newValue, oldValue) => {
|
||||
if (newValue && newValue.id) {
|
||||
if (newValue && newValue !== oldValue) {
|
||||
this.fetchData()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue