{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 }} {{#let (filter (action 'syntheticNodeSearchPropertyFilter' route.model.item) searchProperties) as |filteredSearchProperties| }} {{#let (hash value=(or sortBy 'Status:asc') change=(action (mut sortBy) value='target.selected')) (hash status=(hash value=(if status (split status ',') undefined) change=(action (mut status) value='target.selectedItems') ) check=(hash value=(if check (split check ',') undefined) change=(action (mut check) value='target.selectedItems') ) searchproperty=(hash value=(if (not-eq searchproperty undefined) (split searchproperty ',') filteredSearchProperties ) change=(action (mut searchproperty) value='target.selectedItems') default=filteredSearchProperties ) ) (filter (action 'syntheticNodeHealthCheckFilter' route.model.item) (merge-checks (array route.model.item.Checks route.model.proxy.Checks) route.model.proxy.ServiceProxy.Expose.Checks ) ) as |sort filters items| }}
{{#if (gt items.length 0)}} {{/if}} {{#let (find-by 'Type' 'serf' items) as |serf|}} {{#if (and serf (eq serf.Status 'critical'))}} {{t 'routes.dc.services.instance.healthchecks.critical-serf-notice.header'}} {{t 'routes.dc.services.instance.healthchecks.critical-serf-notice.body' htmlSafe=true }} {{/if}} {{/let}} {{t 'routes.dc.services.instance.healthchecks.empty' items=items.length htmlSafe=true }}
{{/let}} {{/let}}