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
|
<Consul::Service::List
|
||||||
@items={{collection.items}}
|
@items={{collection.items}}
|
||||||
@partition={{partition}}
|
@partition={{partition}}
|
||||||
|
@isPeerDetail={{true}}
|
||||||
/>
|
/>
|
||||||
</collection.Collection>
|
</collection.Collection>
|
||||||
<collection.Empty>
|
<collection.Empty>
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{! we are displaying imported-services - don't show bucket-list }}
|
{{! we are displaying imported-services - don't show bucket-list }}
|
||||||
{{#unless item.peer}}
|
{{#unless @isPeerDetail}}
|
||||||
<Consul::Bucket::List @item={{item}} @nspace={{@nspace}} @partition={{@partition}} />
|
<Consul::Bucket::List @item={{item}} @nspace={{@nspace}} @partition={{@partition}} />
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
{{#if (eq item.Kind 'terminating-gateway')}}
|
{{#if (eq item.Kind 'terminating-gateway')}}
|
||||||
|
|
Loading…
Reference in New Issue