mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
feat: handle bulk actions
Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> (cherry picked from commit f2d517222433dde29b1e0742f3b4a27523410831)
This commit is contained in:
parent
7194d52000
commit
89b43060df
@ -47,7 +47,6 @@ dialog:
|
||||
=1 { and <b>one other </b>}
|
||||
other { and <b>{count} other </b>}
|
||||
}
|
||||
confirmName: "Enter <b>{nameToMatch}</b> below to confirm:"
|
||||
protip: "Tip: Hold the {alternateLabel} key while clicking action to bypass this confirmation"
|
||||
stop:
|
||||
message: "Are you sure you want to continue stop the {type} {names}?"
|
||||
|
||||
@ -107,7 +107,8 @@ export default class VirtVm extends HarvesterResource {
|
||||
enabled: !!this.actions?.stop,
|
||||
icon: 'icon icon-close',
|
||||
label: this.t('harvester.action.stop'),
|
||||
bulkable: true
|
||||
bulkable: true,
|
||||
bulkAction: 'stopVM',
|
||||
},
|
||||
{
|
||||
action: 'forceStop',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user