You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2021/09/20 15:20:43 UTC
[cloudstack] branch main updated: UI: Fixes issue during logout as
user / domain admin (#5476)
This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new ca870df UI: Fixes issue during logout as user / domain admin (#5476)
ca870df is described below
commit ca870dfc73ce1f0f011005487dce0bb7cf51b4f1
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Mon Sep 20 20:50:19 2021 +0530
UI: Fixes issue during logout as user / domain admin (#5476)
---
ui/src/views/dashboard/UsageDashboard.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/dashboard/UsageDashboard.vue b/ui/src/views/dashboard/UsageDashboard.vue
index bfda081..66b8395 100644
--- a/ui/src/views/dashboard/UsageDashboard.vue
+++ b/ui/src/views/dashboard/UsageDashboard.vue
@@ -137,7 +137,7 @@ export default {
this.$store.watch(
(state, getters) => getters.project,
(newValue, oldValue) => {
- if (newValue && newValue !== oldValue) {
+ if (newValue && (!oldValue || newValue.id !== oldValue.id)) {
this.fetchData()
}
}