feat: handle bulk actions

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
Yi-Ya Chen committed 2025-01-20 12:19:57 +08:00
1 parent fdc635955b
commit f2d5172224
2 files changed
+7 -7

No files matched your search

@@ -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',