From ae049b7b965b66770cf4ada5956f8e37ec02a43b Mon Sep 17 00:00:00 2001 From: John Cowen Date: Thu, 19 Nov 2020 16:03:26 +0000 Subject: [PATCH] ui: All metrics cards should default to the default nspace if not set (#9223) * ui: All metrics cards should default to the default nspace if not set * Use the up/downstream as the data/nspace for up/downstreams not the service --- .../consul-ui/app/components/topology-metrics/card.hbs | 4 ++-- .../consul-ui/app/components/topology-metrics/index.hbs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/packages/consul-ui/app/components/topology-metrics/card.hbs b/ui/packages/consul-ui/app/components/topology-metrics/card.hbs index 51ce9160e2..81c6d561d0 100644 --- a/ui/packages/consul-ui/app/components/topology-metrics/card.hbs +++ b/ui/packages/consul-ui/app/components/topology-metrics/card.hbs @@ -47,7 +47,7 @@ {{#if (and @hasMetricsProvider (not-eq @service.Kind 'ingress-gateway'))}} {{#if (eq @type 'upstream')}} {{else}} {{#if this.hasMetricsProvider }} {{#if (not-eq @service.Service.Kind 'ingress-gateway')}}