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
8adda6bef5
commit
3a1b1df94f
@ -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…
x
Reference in New Issue
Block a user