mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
(cherry picked from commit f8d5aa1a21cdc5153b26f5d7a9c08ee01778e409) Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
24f716ab20
commit
72dedd46d1
@ -158,7 +158,7 @@ export default class VirtVm extends HarvesterResource {
|
||||
},
|
||||
{
|
||||
action: 'takeVMSnapshot',
|
||||
enabled: !!this.actions?.backup && !this.longhornV2Volumes.length,
|
||||
enabled: (!!this.actions?.snapshot || !!this.action?.backup) && !this.longhornV2Volumes.length,
|
||||
icon: 'icon icon-snapshot',
|
||||
label: this.t('harvester.action.vmSnapshot')
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user