mirror of https://github.com/hashicorp/consul
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.pull/14947/head
parent
e55306e258
commit
d6f0fe9f6e
|
@ -78,6 +78,7 @@
|
|||
<Consul::Service::List
|
||||
@items={{collection.items}}
|
||||
@partition={{partition}}
|
||||
@isPeerDetail={{true}}
|
||||
/>
|
||||
</collection.Collection>
|
||||
<collection.Empty>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
</span>
|
||||
{{/if}}
|
||||
{{! we are displaying imported-services - don't show bucket-list }}
|
||||
{{#unless item.peer}}
|
||||
{{#unless @isPeerDetail}}
|
||||
<Consul::Bucket::List @item={{item}} @nspace={{@nspace}} @partition={{@partition}} />
|
||||
{{/unless}}
|
||||
{{#if (eq item.Kind 'terminating-gateway')}}
|
||||
|
|
Loading…
Reference in New Issue