This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.17 by this push:
new b69292c376 ui: disable getResource in login page (#6788)
b69292c376 is described below
commit b69292c376bd97d0d00b004493d8853551b2c107
Author: Hoang Nguyen <[email protected]>
AuthorDate: Tue Oct 4 12:23:39 2022 +0700
ui: disable getResource in login page (#6788)
Fixes #6731
---
ui/src/components/view/InfoCard.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ui/src/components/view/InfoCard.vue
b/ui/src/components/view/InfoCard.vue
index 02385ff174..b16beb0821 100644
--- a/ui/src/components/view/InfoCard.vue
+++ b/ui/src/components/view/InfoCard.vue
@@ -764,7 +764,10 @@ export default {
}
},
watch: {
- '$route.fullPath': function () {
+ '$route.fullPath': function (path) {
+ if (path === '/user/login') {
+ return
+ }
this.getIcons()
},
resource: {