Skip to content

Commit b69292c

Browse files
author
Hoang Nguyen
authored
ui: disable getResource in login page (#6788)
Fixes #6731
1 parent 89d9a70 commit b69292c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/components/view/InfoCard.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,10 @@ export default {
764764
}
765765
},
766766
watch: {
767-
'$route.fullPath': function () {
767+
'$route.fullPath': function (path) {
768+
if (path === '/user/login') {
769+
return
770+
}
768771
this.getIcons()
769772
},
770773
resource: {

0 commit comments

Comments
 (0)