Skip to content

Commit 8ae6ee1

Browse files
committed
UI: list backup offerings by zoneid when assign vm to backup offering
1 parent c5e8f63 commit 8ae6ee1

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
@@ -219,6 +219,10 @@ export default {
219219
args: ['virtualmachineid', 'backupofferingid'],
220220
show: (record) => { return !record.backupofferingid },
221221
mapping: {
222+
backupofferingid: {
223+
api: 'listBackupOfferings',
224+
params: (record) => { return { zoneid: record.zoneid } }
225+
},
222226
virtualmachineid: {
223227
value: (record, params) => { return record.id }
224228
}

0 commit comments

Comments
 (0)