From b0f38fe8998b76d7724ecc84d1cf23aafb09cc3c Mon Sep 17 00:00:00 2001 From: John Cowen Date: Wed, 3 Jun 2020 10:55:36 +0100 Subject: [PATCH] ui: Add an Address copy button to the service instance page (#7977) * ui: Add an Address copy button to the service instance page * ui: Fallback to Node Address if no Service Address is configured --- ui-v2/app/templates/dc/services/instance.hbs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui-v2/app/templates/dc/services/instance.hbs b/ui-v2/app/templates/dc/services/instance.hbs index 81be4bd2a6..1279a2350c 100644 --- a/ui-v2/app/templates/dc/services/instance.hbs +++ b/ui-v2/app/templates/dc/services/instance.hbs @@ -26,6 +26,11 @@
{{item.Node.Node}}
+ + {{#let (or item.Address item.Node.Address) as |address|}} + {{address}} + {{/let}} +