You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ha...@apache.org on 2023/10/10 09:08:26 UTC
[cloudstack] branch FixNonAdminLogouts created (now 0f81a142a64)
This is an automated email from the ASF dual-hosted git repository.
harikrishna pushed a change to branch FixNonAdminLogouts
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
at 0f81a142a64 Don't fetch data during logout
This branch includes the following new commits:
new 0f81a142a64 Don't fetch data during logout
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[cloudstack] 01/01: Don't fetch data during logout
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
harikrishna pushed a commit to branch FixNonAdminLogouts
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 0f81a142a64808f259293eed1a5c6e0a1fd09136
Author: Harikrishna Patnala <ha...@gmail.com>
AuthorDate: Tue Oct 10 14:15:58 2023 +0530
Don't fetch data during logout
---
ui/src/views/dashboard/UsageDashboard.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ui/src/views/dashboard/UsageDashboard.vue b/ui/src/views/dashboard/UsageDashboard.vue
index 4264a90f925..a2cc1c4c485 100644
--- a/ui/src/views/dashboard/UsageDashboard.vue
+++ b/ui/src/views/dashboard/UsageDashboard.vue
@@ -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()
+ }
}
}
)