From ac54a791b262142587940807b36f2bdb49cc18a3 Mon Sep 17 00:00:00 2001 From: Kenia <19161242+kaxcode@users.noreply.github.com> Date: Wed, 16 Sep 2020 11:39:57 -0400 Subject: [PATCH] ui: Add services count to node listings (#8690) --- ui-v2/app/components/consul-node-list/index.hbs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui-v2/app/components/consul-node-list/index.hbs b/ui-v2/app/components/consul-node-list/index.hbs index 8b2c516e9c..7d1075076c 100644 --- a/ui-v2/app/components/consul-node-list/index.hbs +++ b/ui-v2/app/components/consul-node-list/index.hbs @@ -26,6 +26,11 @@ {{#if (eq item.Address leader.Address)}} Leader + {{/if}} + {{#if (gt item.Services.length 0)}} + + {{item.Services.length}} {{pluralize item.Services.length 'Service' without-count=true}} + {{/if}}