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 <[email protected]> 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() + } } } )
