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

12 lines
397 B
Handlebars

{{#if (gt item.Checks.length 0) }}
<ul data-test-node-healthchecks>
{{#each (sort-by (action 'sortChecksByImportance') item.Checks) as |check| }}
{{healthcheck-status data-test-node-healthcheck=check.Name tagName='li' name=check.Name class=check.Status status=check.Status notes=check.Notes output=check.Output}}
{{/each}}
</ul>
{{else}}
<p>
This node has no health checks.
</p>
{{/if}}