2020-10-02 08:09:05 +00:00
|
|
|
<div class="tab-section">
|
2020-04-22 14:40:59 +00:00
|
|
|
<div role="tabpanel">
|
2020-11-19 15:59:27 +00:00
|
|
|
{{#let (append item.Checks (or proxy.Checks (array))) as |checks|}}
|
|
|
|
{{#if (gt checks.length 0) }}
|
2020-10-02 08:09:05 +00:00
|
|
|
<section data-test-checks>
|
2020-11-10 16:31:47 +00:00
|
|
|
<HealthcheckList
|
2020-11-19 15:59:27 +00:00
|
|
|
@items={{sort-by (comparator 'check' 'Status:asc') checks}}
|
2020-11-10 16:31:47 +00:00
|
|
|
@exposed={{proxyMeta.ServiceProxy.Expose.Checks}}
|
|
|
|
/>
|
2020-04-22 14:40:59 +00:00
|
|
|
</section>
|
|
|
|
{{else}}
|
2020-10-02 08:09:05 +00:00
|
|
|
<EmptyState>
|
|
|
|
<BlockSlot @name="body">
|
|
|
|
<p>
|
|
|
|
This instance has no health checks.
|
|
|
|
</p>
|
|
|
|
</BlockSlot>
|
|
|
|
</EmptyState>
|
2020-04-22 14:40:59 +00:00
|
|
|
{{/if}}
|
2020-11-19 15:59:27 +00:00
|
|
|
{{/let}}
|
2020-04-22 14:40:59 +00:00
|
|
|
</div>
|
|
|
|
</div>
|