Skip to content

Commit 474ea88

Browse files
committed
UI: list backup offerings by zoneid when assign vm to backup offering
1 parent a163831 commit 474ea88

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
@@ -224,6 +224,10 @@ export default {
224224
args: ['virtualmachineid', 'backupofferingid'],
225225
show: (record) => { return !record.backupofferingid },
226226
mapping: {
227+
backupofferingid: {
228+
api: 'listBackupOfferings',
229+
params: (record) => { return { zoneid: record.zoneid } }
230+
},
227231
virtualmachineid: {
228232
value: (record, params) => { return record.id }
229233
}

0 commit comments

Comments
 (0)