]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
dns: optionally send delete for optional values
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 1 Mar 2024 09:03:40 +0000 (10:03 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Mar 2024 11:34:55 +0000 (12:34 +0100)
commite3cf77e177da6d5aa66bd1731af3e0028897db07
tree9926ecf41764222aaa42e2ddd114259e1e72b1b7
parent9c69fc1b8fc2b5a3533b9acc902e491bc213ad75
dns: optionally send delete for optional values

pbs only deletes the optional values here when they are sent with the
'delete' parameter, in contrast to pve/pmg that don't have a delete
parameter currently and always use the parameters as source of truth.

So to handle that, optionally set deleteEmpty if set from outside

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/node/DNSEdit.js
src/node/DNSView.js