From 437005dc02c07912ff5f1e5ee094d10c6d7cfb22 Mon Sep 17 00:00:00 2001 From: lvuch Date: Fri, 28 Jun 2019 15:45:02 -0700 Subject: [PATCH] copy to clipboard on node dash --- lib/shared/addon/components/node-ip/template.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/shared/addon/components/node-ip/template.hbs b/lib/shared/addon/components/node-ip/template.hbs index 4e89db82f..6db4fc2d2 100644 --- a/lib/shared/addon/components/node-ip/template.hbs +++ b/lib/shared/addon/components/node-ip/template.hbs @@ -1,13 +1,13 @@
{{#if (and model.externalIpAddress (not-eq model.externalIpAddress model.ipAddress))}} - {{#copy-inline clipboardText=model.externalIpAddress size="small"}} + {{#copy-to-clipboard clipboardText=model.externalIpAddress size="small"}} {{format-ip model.externalIpAddress}} - {{/copy-inline}} + {{/copy-to-clipboard}}  /  {{/if}} {{#if model.ipAddress}} - {{#copy-inline clipboardText=model.ipAddress size="small"}} + {{#copy-to-clipboard clipboardText=model.ipAddress size="small"}} {{format-ip model.ipAddress}} - {{/copy-inline}} + {{/copy-to-clipboard}} {{/if}}
\ No newline at end of file