Skip to content

Commit

Permalink
UI: list backup offerings by zoneid when assign vm to backup offering a…
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Dec 12, 2024
1 parent c023cd8 commit 2e874a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/config/section/compute.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,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 }
}
Expand Down

0 comments on commit 2e874a6

Please sign in to comment.