From 1332c312b3ad8ca89ea5caa159a9413f5a190d18 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 e207b3803..e9f7f8930 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')}}