From d42ef8da9165ab46858a7242b114ddfee6a643c5 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 10 Apr 2019 09:56:14 +0200 Subject: [PATCH] ui: lxc: do not disable complete add resource button if no disk caps While for now you only have elements which require the add disk capability in the add sections it makes no sense to hide it, as it would suggest that one can add no resource at all, and can easily introduce a bug if we add another type of resource here, independent of disk add cap. Signed-off-by: Thomas Lamprecht --- www/manager6/lxc/Resources.js | 1 - 1 file changed, 1 deletion(-) diff --git a/www/manager6/lxc/Resources.js b/www/manager6/lxc/Resources.js index f2c8d05d..501ddf69 100644 --- a/www/manager6/lxc/Resources.js +++ b/www/manager6/lxc/Resources.js @@ -278,7 +278,6 @@ Ext.define('PVE.lxc.RessourceView', { tbar: [ { text: gettext('Add'), - disabled: !diskCap, menu: new Ext.menu.Menu({ items: [ {