Kenia e18d8e299d
ui: Delete Proxy Info tab (#9141)
* Remove Proxy Info and create Upstreams and Exposed Paths tabs

* Update routes formatting

* Update typo for Expose.Checks

* Remove, update, and add tests

* Make consul-upstream-instance-list into a glimmer component

* Create styling for upstream-instance-list component
2020-11-10 11:31:47 -05:00

21 lines
543 B
Handlebars

<div class="tab-section">
<div role="tabpanel">
{{#if (gt item.Checks.length 0) }}
<section data-test-checks>
<HealthcheckList
@items={{sort-by (comparator 'check' 'Status:asc') (append item.Checks proxy.Checks)}}
@exposed={{proxyMeta.ServiceProxy.Expose.Checks}}
/>
</section>
{{else}}
<EmptyState>
<BlockSlot @name="body">
<p>
This instance has no health checks.
</p>
</BlockSlot>
</EmptyState>
{{/if}}
</div>
</div>