From 712a2d33dcb9f5284b07c7dce1721b16d57bc7c7 Mon Sep 17 00:00:00 2001 From: Kenia <19161242+kaxcode@users.noreply.github.com> Date: Thu, 8 Oct 2020 11:38:03 -0400 Subject: [PATCH] ui: Add namespaces to downstream cards (#8873) * Add nspace to downstream cards * Remove portion of conditional --- ui-v2/app/components/topology-metrics/index.hbs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ui-v2/app/components/topology-metrics/index.hbs b/ui-v2/app/components/topology-metrics/index.hbs index bfb0b3e0f..09c367b22 100644 --- a/ui-v2/app/components/topology-metrics/index.hbs +++ b/ui-v2/app/components/topology-metrics/index.hbs @@ -17,6 +17,18 @@ {{downstream.Name}}

+ {{#if (env 'CONSUL_NSPACES_ENABLED')}} +
+
+ + Namespace + +
+
+ {{downstream.Namespace}} +
+
+ {{/if}} {{#let (service/health-percentage downstream) as |percentage|}} {{#if (not-eq percentage.passing 0)}} {{percentage.passing}}% @@ -86,7 +98,7 @@ {{upstream.Name}}

- {{#if (and nspace (env 'CONSUL_NSPACES_ENABLED'))}} + {{#if (env 'CONSUL_NSPACES_ENABLED')}}