ui: prune jobs: avoid duplicate params through nested input panels

input panel collect all form fields below them, so nesting two
input panels needs a bit of special care to avoid that each of the
panels adds the data of the deeper nested ones, resulting in
duplicate parameters that the backend then chokes one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-30 15:15:39 +02:00
parent 1fa6083bc8
commit 27d3a232d0
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ Ext.define('PBS.window.PruneJobEdit', {
columnB: [
{
xtype: 'pbsPruneInputPanel',
getValues: () => ({}), // let that handle our inputpanel here
},
{
fieldLabel: gettext('Comment'),