]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: lvm-thin: don't add nodeselector/enable multiple times in edit window
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 21 Mar 2023 09:16:09 +0000 (10:16 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Mar 2023 09:28:08 +0000 (10:28 +0100)
Seemingly, an empty array is special for Ext JS, and if we push into
it, we overwrite the class definition of that property.

This does not happen when something is already in the array, so the
other edit windows work as expected

To fix it here, remove the empty array entirely, since we already
create an empty one when we need it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/storage/LvmThinEdit.js

index bed5facb364ebb263f0603d6790ababb277aa6ee..c3b55d87d4296ae65d21ffb6297f303c75515752 100644 (file)
@@ -183,6 +183,4 @@ Ext.define('PVE.storage.LvmThinInputPanel', {
            allowBlank: false,
        },
     ],
-
-    column2: [],
 });