From a4f59bc9fed51dfe8bd73d59bf13b79ee6ba1aa7 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Sat, 6 Sep 2025 01:38:02 +0530 Subject: [PATCH] ui: fix tab name in query params When name of a tab is defined as function then query params are wrongly set on selection of the tab. This PR fixes the behaviour by always checking the type of name defined. Signed-off-by: Abhishek Kumar --- ui/src/components/view/ResourceView.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/src/components/view/ResourceView.vue b/ui/src/components/view/ResourceView.vue index 2c1764da1437..af27a3d1b957 100644 --- a/ui/src/components/view/ResourceView.vue +++ b/ui/src/components/view/ResourceView.vue @@ -33,17 +33,17 @@ :is="tabs[0].component" :resource="resource" :loading="loading" - :tab="tabs[0].name" /> + :tab="tabName(tabs[0])" /> -