From 2f65a702a73a3896f3bcc25b611e051e739e3c2b Mon Sep 17 00:00:00 2001 From: YannC Date: Thu, 14 Mar 2024 12:06:55 +0100 Subject: [PATCH] fix(ui): correct link to namespace closes kestra-io/kestra-ee#931 --- ui/src/components/admin/stats/Usages.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/src/components/admin/stats/Usages.vue b/ui/src/components/admin/stats/Usages.vue index 0e527ac0dbf..1ef422d244d 100644 --- a/ui/src/components/admin/stats/Usages.vue +++ b/ui/src/components/admin/stats/Usages.vue @@ -9,7 +9,7 @@ {{ namespaces }} - + @@ -155,6 +155,15 @@ flows() { return this.usages.flows?.count ?? 0; }, + namespaceRoute() { + try { + this.$router.resolve({name: "namespaces/list"}) + return "namespaces/list"; + + } catch (error) { + return "flows/list" + } + }, tasks() { return this.aggregateValues(this.usages.flows?.taskTypeCount); },