feat: handle bulk actions

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
Yi-Ya Chen
2025-01-20 12:19:57 +08:00
parent fdc635955b
commit f2d5172224
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',