diff --git a/ui/packages/consul-ui/app/templates/dc/services/instance/healthchecks.hbs b/ui/packages/consul-ui/app/templates/dc/services/instance/healthchecks.hbs index a76da72437..edf2ac0c38 100644 --- a/ui/packages/consul-ui/app/templates/dc/services/instance/healthchecks.hbs +++ b/ui/packages/consul-ui/app/templates/dc/services/instance/healthchecks.hbs @@ -1,9 +1,10 @@
- {{#if (gt item.Checks.length 0) }} + {{#let (append item.Checks (or proxy.Checks (array))) as |checks|}} + {{#if (gt checks.length 0) }}
@@ -16,5 +17,6 @@ {{/if}} + {{/let}}
diff --git a/ui/packages/consul-ui/tests/acceptance/dc/services/instances/show.feature b/ui/packages/consul-ui/tests/acceptance/dc/services/instances/show.feature index fbe18e36e8..bb45b5a0b3 100644 --- a/ui/packages/consul-ui/tests/acceptance/dc/services/instances/show.feature +++ b/ui/packages/consul-ui/tests/acceptance/dc/services/instances/show.feature @@ -65,7 +65,7 @@ Feature: dc / services / instances / show: Show Service Instance And I don't see upstreams on the tabs And I see healthChecksIsSelected on the tabs - And I see 7 of the checks object + And I see 6 of the checks object When I click tags&Meta on the tabs And I see tags&MetaIsSelected on the tabs