Skip to content

Commit 8030da6

Browse files
weizhouapachedhslove
authored andcommitted
UI: list backup offerings by zoneid when assign vm to backup offering (apache#10217)
1 parent 01032c9 commit 8030da6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/config/section/compute.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ export default {
244244
args: ['virtualmachineid', 'backupofferingid'],
245245
show: (record) => { return !record.backupofferingid },
246246
mapping: {
247+
backupofferingid: {
248+
api: 'listBackupOfferings',
249+
params: (record) => { return { zoneid: record.zoneid } }
250+
},
247251
virtualmachineid: {
248252
value: (record, params) => { return record.id }
249253
}

0 commit comments

Comments
 (0)