From 08bfb4444a65a1218642e70aad89f8b9a4bbed30 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Thu, 14 Apr 2022 09:51:05 +0530 Subject: [PATCH] ui: Add project switch to the Kubernetes tab (#6260) --- ui/src/views/AutogenView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index beac49fb981..2a3c3eae9ca 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -750,7 +750,7 @@ export default { } this.projectView = Boolean(store.getters.project && store.getters.project.id) - this.hasProjectId = ['vm', 'vmgroup', 'ssh', 'affinitygroup', 'volume', 'snapshot', 'vmsnapshot', 'guestnetwork', 'vpc', 'securitygroups', 'publicip', 'vpncustomergateway', 'template', 'iso', 'event'].includes(this.$route.name) + this.hasProjectId = ['vm', 'vmgroup', 'ssh', 'affinitygroup', 'volume', 'snapshot', 'vmsnapshot', 'guestnetwork', 'vpc', 'securitygroups', 'publicip', 'vpncustomergateway', 'template', 'iso', 'event', 'kubernetes'].includes(this.$route.name) if ((this.$route && this.$route.params && this.$route.params.id) || this.$route.query.dataView) { this.dataView = true