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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-04-10 09:56:14 +02:00
parent d35b5b2afb
commit d42ef8da91

View File

@ -278,7 +278,6 @@ Ext.define('PVE.lxc.RessourceView', {
tbar: [
{
text: gettext('Add'),
disabled: !diskCap,
menu: new Ext.menu.Menu({
items: [
{