ui: add groupAction for upgrade router to use newer template (#6468)

Fixes #6466
This commit is contained in:
Hoang Nguyen 2022-06-20 14:26:52 +07:00 committed by GitHub
parent c6f12f37ee
commit 15c4dcfa44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -174,8 +174,9 @@ export default {
message: 'message.confirm.upgrade.router.newer.template',
docHelp: 'adminguide/systemvm.html#upgrading-virtual-routers',
dataView: true,
groupAction: true
// show: (record) => { return record.requiresupgrade }
groupAction: true,
// show: (record) => { return record.requiresupgrade },
groupMap: (selection) => { return selection.map(x => { return { id: x } }) }
},
{
api: 'migrateSystemVm',