remove unnecessary trigraph
values['delete'] is always empty here, plus the code was buggy for the case that it wasn't: values['delete'] = values['delete'] ? ',group' : 'group'; ^^^ always overwrites values['delete'], even if not empty So just drop it here. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
52f2453864
commit
b4167ff221
@ -12,7 +12,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
|
||||
|
||||
if (values.group === '') {
|
||||
if (!me.create) {
|
||||
values['delete'] = values['delete'] ? ',group' : 'group';
|
||||
values['delete'] = 'group';
|
||||
}
|
||||
delete values.group;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user