mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-09 17:06:16 +00:00
fix #2572: gui: make snapshot panel visible for VM.Audit
with the now rewritten panels, this works as expected Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
5b1b9360eb
commit
b06d011e31
@ -262,7 +262,8 @@ Ext.define('PVE.lxc.Config', {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((caps.vms['VM.Snapshot'] || caps.vms['VM.Snapshot.Rollback']) && !template) {
|
if ((caps.vms['VM.Snapshot'] || caps.vms['VM.Snapshot.Rollback'] ||
|
||||||
|
caps.vms['VM.Audit']) && !template) {
|
||||||
me.items.push({
|
me.items.push({
|
||||||
title: gettext('Snapshots'),
|
title: gettext('Snapshots'),
|
||||||
iconCls: 'fa fa-history',
|
iconCls: 'fa fa-history',
|
||||||
|
@ -294,7 +294,8 @@ Ext.define('PVE.qemu.Config', {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((caps.vms['VM.Snapshot'] || caps.vms['VM.Snapshot.Rollback']) && !template) {
|
if ((caps.vms['VM.Snapshot'] || caps.vms['VM.Snapshot.Rollback'] ||
|
||||||
|
caps.vms['VM.Audit']) && !template) {
|
||||||
me.items.push({
|
me.items.push({
|
||||||
title: gettext('Snapshots'),
|
title: gettext('Snapshots'),
|
||||||
iconCls: 'fa fa-history',
|
iconCls: 'fa fa-history',
|
||||||
|
Loading…
Reference in New Issue
Block a user