From ef1f6faa52325f2cab8068f88361d3e71ad7da15 Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Tue, 28 Apr 2026 16:35:59 -0600 Subject: [PATCH] [UI][VAULT-44070] Hide billing metrics sidebar link from namespaces other than root and admin (#14186) (#14381) (#14394) * Only show dashboard if user is in hvd namespace and root namespace * Add tests.. * Fix test names Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com> --- .../addon/components/sidebar/nav/cluster.hbs | 2 +- .../components/sidebar/nav/cluster-test.js | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ui/lib/core/addon/components/sidebar/nav/cluster.hbs b/ui/lib/core/addon/components/sidebar/nav/cluster.hbs index 2769c9dbcd..58459deea1 100644 --- a/ui/lib/core/addon/components/sidebar/nav/cluster.hbs +++ b/ui/lib/core/addon/components/sidebar/nav/cluster.hbs @@ -59,7 +59,7 @@ data-test-sidebar-nav-link="Client count" /> {{/if}} - {{#if this.version.hasConsumptionBilling}} + {{#if (and this.version.hasConsumptionBilling (or this.isRootNamespace this.namespace.inHvdAdminNamespace))}}