From b69292c376bd97d0d00b004493d8853551b2c107 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Tue, 4 Oct 2022 12:23:39 +0700 Subject: [PATCH] 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 02385ff174a..b16beb0821c 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: {