open-consul/ui-v2/app/templates/dc/nodes/show/healthchecks.hbs

15 lines
405 B
Handlebars

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