From 3a1b1df94ff9bfab6657c9f1bd69992aa6e4175f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 30 Jan 2020 19:42:02 +0100 Subject: [PATCH] ui snapshot tree: add label when no new snapshot is possible Signed-off-by: Thomas Lamprecht --- www/manager6/tree/SnapshotTree.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/www/manager6/tree/SnapshotTree.js b/www/manager6/tree/SnapshotTree.js index 25f487abc..4f8340184 100644 --- a/www/manager6/tree/SnapshotTree.js +++ b/www/manager6/tree/SnapshotTree.js @@ -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,