From d6f0fe9f6e624c36ca7d0b35dbb1df2821b25765 Mon Sep 17 00:00:00 2001 From: Michael Klein Date: Tue, 11 Oct 2022 13:28:02 +0200 Subject: [PATCH] Fix bucket-list display depends on navigation We need to explicitly tell the UI to not show the bucket-list when we are displaying imported services. If we make this depend on the data we will sometimes not show it due to data-loader caching. --- .../consul-peerings/app/templates/dc/peers/edit/imported.hbs | 1 + .../consul-ui/app/components/consul/service/list/index.hbs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/packages/consul-peerings/app/templates/dc/peers/edit/imported.hbs b/ui/packages/consul-peerings/app/templates/dc/peers/edit/imported.hbs index db552ef262..d8b0e93e02 100644 --- a/ui/packages/consul-peerings/app/templates/dc/peers/edit/imported.hbs +++ b/ui/packages/consul-peerings/app/templates/dc/peers/edit/imported.hbs @@ -78,6 +78,7 @@ diff --git a/ui/packages/consul-ui/app/components/consul/service/list/index.hbs b/ui/packages/consul-ui/app/components/consul/service/list/index.hbs index a8e6bba2e2..7991a11243 100644 --- a/ui/packages/consul-ui/app/components/consul/service/list/index.hbs +++ b/ui/packages/consul-ui/app/components/consul/service/list/index.hbs @@ -48,7 +48,7 @@ {{/if}} {{! we are displaying imported-services - don't show bucket-list }} - {{#unless item.peer}} + {{#unless @isPeerDetail}} {{/unless}} {{#if (eq item.Kind 'terminating-gateway')}}