1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #~: Add copy action to VM configuration attrs (#2191)

(cherry picked from commit d959e813ae845b87bfe9acaeffae5e08798c58b2)
This commit is contained in:
Sergio Betanzos 2022-06-28 16:59:42 +02:00 committed by Tino Vazquez
parent 55027b84df
commit 6374fcfcc0

View File

@ -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,
})
}
}