ui: Fix swapped node & service checks by fixing filter-by & reject-by (#8338)

This commit is contained in:
Ondrej Sika 2020-07-21 01:45:25 +02:00 committed by GitHub
parent 56c4d6e98f
commit 5538d4ff7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,8 +17,8 @@
<ConsulInstanceChecks @type="service" @items={{get checks item.Service}} />
{{else}}
<ConsulExternalSource @item={{item.Service}} />
<ConsulInstanceChecks @type="service" @items={{reject-by 'ServiceID' '' item.Checks}} />
<ConsulInstanceChecks @type="node" @items={{filter-by 'ServiceID' '' item.Checks}} />
<ConsulInstanceChecks @type="service" @items={{filter-by 'ServiceID' '' item.Checks}} />
<ConsulInstanceChecks @type="node" @items={{reject-by 'ServiceID' '' item.Checks}} />
{{/if}}
{{#if (get proxies item.Service.ID)}}
<dl class="proxy">