mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 15:51:22 +00:00
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:
parent
d35b5b2afb
commit
d42ef8da91
@ -278,7 +278,6 @@ Ext.define('PVE.lxc.RessourceView', {
|
||||
tbar: [
|
||||
{
|
||||
text: gettext('Add'),
|
||||
disabled: !diskCap,
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user