From d959e813ae845b87bfe9acaeffae5e08798c58b2 Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Tue, 28 Jun 2022 16:59:42 +0200 Subject: [PATCH] M #~: Add copy action to VM configuration attrs (#2191) --- .../src/client/components/Tabs/Vm/Configuration.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/fireedge/src/client/components/Tabs/Vm/Configuration.js b/src/fireedge/src/client/components/Tabs/Vm/Configuration.js index a3ccd220e2..0674419441 100644 --- a/src/fireedge/src/client/components/Tabs/Vm/Configuration.js +++ b/src/fireedge/src/client/components/Tabs/Vm/Configuration.js @@ -68,7 +68,13 @@ const VmConfigurationTab = ({ tabProps: { actions } = {}, id }) => { if (isSupported && hasValue) { const name = idx ? `${idx}.${key}` : key - sectionAttributes.push({ name, value, dataCy: name }) + sectionAttributes.push({ + name, + value, + dataCy: name, + canCopy: true, + showActionsOnHover: true, + }) } }