diff --git a/src/config/section/storage.js b/src/config/section/storage.js index c90707986..fc003c350 100644 --- a/src/config/section/storage.js +++ b/src/config/section/storage.js @@ -115,6 +115,21 @@ export default { ['Running', 'Stopped', 'Destroyed'].includes(record.vmstate) } }, + { + api: 'updateVolume', + icon: 'edit', + label: 'label.edit', + dataView: true, + args: ['name'], + mapping: { + account: { + value: (record) => { return record.account } + }, + domainid: { + value: (record) => { return record.domainid } + } + } + }, { api: 'createSnapshot', icon: 'camera',