mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-03 09:58:29 +00:00
ui snapshot tree: add label when no new snapshot is possible
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
b9c780c5a8
commit
e1af138576
@ -233,6 +233,7 @@ Ext.define('PVE.guest.SnapshotTree', {
|
||||
},
|
||||
handler: 'newSnapshot',
|
||||
},
|
||||
'-',
|
||||
{
|
||||
xtype: 'proxmoxButton',
|
||||
text: gettext('Rollback'),
|
||||
@ -276,7 +277,15 @@ Ext.define('PVE.guest.SnapshotTree', {
|
||||
disabled: true,
|
||||
edit: true,
|
||||
handler: 'editSnapshot',
|
||||
}
|
||||
},
|
||||
{
|
||||
xtype: 'label',
|
||||
text: gettext("The current guest configuration does not support taking new snapshots"),
|
||||
hidden: true,
|
||||
bind: {
|
||||
hidden: "{canSnapshot}",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
columnLines: true,
|
||||
|
Loading…
Reference in New Issue
Block a user