feat: handle bulk actions

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
(cherry picked from commit f2d5172224)
This commit is contained in:
Yi-Ya Chen
2025-01-21 02:24:43 +00:00
committed by Mergify
parent 7194d52000
commit 89b43060df
2 changed files with 7 additions and 7 deletions
@@ -102,12 +102,13 @@ export default class VirtVm extends HarvesterResource {
return [
{
action: 'stopVM',
altAction: 'altStopVM',
enabled: !!this.actions?.stop,
icon: 'icon icon-close',
label: this.t('harvester.action.stop'),
bulkable: true
action: 'stopVM',
altAction: 'altStopVM',
enabled: !!this.actions?.stop,
icon: 'icon icon-close',
label: this.t('harvester.action.stop'),
bulkable: true,
bulkAction: 'stopVM',
},
{
action: 'forceStop',