From a78566e2d88b4810f1062e5c64d1881ee8e480f1 Mon Sep 17 00:00:00 2001 From: Kenia <19161242+kaxcode@users.noreply.github.com> Date: Wed, 9 Dec 2020 13:49:34 -0500 Subject: [PATCH] ui: Send item name down to Stats to call endpoint (#9358) * Refactor Stats and Series components * Remove unused variable from being passed down to Stats * Add item name to be passed down to Stats --- ui/packages/consul-ui/app/components/topology-metrics/index.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/packages/consul-ui/app/components/topology-metrics/index.hbs b/ui/packages/consul-ui/app/components/topology-metrics/index.hbs index d9c704fc25..9828e12fa8 100644 --- a/ui/packages/consul-ui/app/components/topology-metrics/index.hbs +++ b/ui/packages/consul-ui/app/components/topology-metrics/index.hbs @@ -30,6 +30,7 @@ @dc={{item.Datacenter}} @endpoint='downstream-summary-for-service' @service={{@service.Service.Service}} + @item={{item.Name}} @noMetricsReason={{this.noMetricsReason}} /> {{/if}} @@ -96,6 +97,7 @@ @dc={{item.Datacenter}} @endpoint='upstream-summary-for-service' @service={{@service.Service.Service}} + @item={{item.Name}} @noMetricsReason={{this.noMetricsReason}} /> {{/if}}