mirror of https://github.com/apache/cloudstack.git
[UI] Edit backup offering (#5546)
* Allow edit backup offering * Address reviews Co-authored-by: SadiJr <sadi@scclouds.com.br>
This commit is contained in:
parent
9f5ac89c9a
commit
93c0b602db
|
|
@ -206,7 +206,7 @@ export default {
|
|||
docHelp: 'adminguide/virtual_machines.html#backup-offerings',
|
||||
permission: ['listBackupOfferings', 'listInfrastructure'],
|
||||
columns: ['name', 'description', 'zonename'],
|
||||
details: ['name', 'id', 'description', 'externalid', 'zone', 'created'],
|
||||
details: ['name', 'id', 'description', 'externalid', 'zone', 'allowuserdrivenbackups', 'created'],
|
||||
actions: [{
|
||||
api: 'importBackupOffering',
|
||||
icon: 'plus',
|
||||
|
|
@ -215,6 +215,14 @@ export default {
|
|||
listView: true,
|
||||
popup: true,
|
||||
component: () => import('@/views/offering/ImportBackupOffering.vue')
|
||||
}, {
|
||||
api: 'updateBackupOffering',
|
||||
icon: 'edit',
|
||||
label: 'label.edit',
|
||||
dataView: true,
|
||||
popup: true,
|
||||
groupMap: (selection) => { return selection.map(x => { return { id: x } }) },
|
||||
args: ['name', 'description']
|
||||
}, {
|
||||
api: 'deleteBackupOffering',
|
||||
icon: 'delete',
|
||||
|
|
|
|||
Loading…
Reference in New Issue