mirror of https://github.com/apache/cloudstack.git
UI: list backup offerings by zoneid when assign vm to backup offering (#10217)
This commit is contained in:
parent
60af31c9c0
commit
fa5c11e6b2
|
|
@ -219,6 +219,10 @@ export default {
|
|||
args: ['virtualmachineid', 'backupofferingid'],
|
||||
show: (record) => { return !record.backupofferingid },
|
||||
mapping: {
|
||||
backupofferingid: {
|
||||
api: 'listBackupOfferings',
|
||||
params: (record) => { return { zoneid: record.zoneid } }
|
||||
},
|
||||
virtualmachineid: {
|
||||
value: (record, params) => { return record.id }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue