ui: Update instances count for ingress and terminating gateways (#8885)
* Add associated services count to terminating and ingress gateways in Service List page * Update to not return instances for terminating and ingress gateways
This commit is contained in:
parent
44017f819e
commit
3e89a88aec
|
@ -46,7 +46,7 @@
|
|||
{{/if}}
|
||||
<ConsulKind @item={{item}} />
|
||||
<ConsulExternalSource @item={{item}} />
|
||||
{{#if (not-eq item.InstanceCount 0)}}
|
||||
{{#if (and (not-eq item.InstanceCount 0) (and (not-eq item.Kind 'terminating-gateway') (not-eq item.Kind 'ingress-gateway'))) }}
|
||||
<span>
|
||||
{{format-number item.InstanceCount}} {{pluralize item.InstanceCount 'Instance' without-count=true}}
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue