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

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

This commit is contained in:
Sergio Betanzos 2022-06-28 16:59:42 +02:00 committed by GitHub
parent 578ca30b76
commit d959e813ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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