From fa9a014f6559231122bbe66f7b816fce6977984b Mon Sep 17 00:00:00 2001 From: utchoang Date: Fri, 30 Sep 2022 10:33:21 +0700 Subject: [PATCH] disable getResource in login page --- 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 02385ff174ab..b16beb0821c4 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: {