From dd2b3919e9a9dbfdd8c87dbc52ea1bd3a3db6d38 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Thu, 17 Dec 2020 15:26:48 +0000 Subject: [PATCH] ui: Show the No Dependencies message when a Topology has no streams (#9413) Also changes the upstreams docs link --- .../templates/dc/services/show/topology.hbs | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs b/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs index efc0b14008..5998ffade4 100644 --- a/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs +++ b/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs @@ -1,24 +1,7 @@ -
+
- {{#if topology.FilteredByACLs}} - - {{/if}} - {{#if topology}} - - {{else}} + {{#if (and (eq topology.Upstreams.length 0) (eq topology.Downstreams.length 0))}}

@@ -32,10 +15,27 @@ + {{else}} + {{#if topology.FilteredByACLs}} + + {{/if}} + {{/if}}