ui: verify job: don't send delete value on creation

the conditional `deleteEmpty` was missing only for max-depth

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2024-03-06 12:21:04 +01:00 committed by Thomas Lamprecht
parent 2edb5f963f
commit 7bc3ab5b7e

View File

@ -86,7 +86,9 @@ Ext.define('PBS.window.VerifyJobEdit', {
xtype: 'pbsNamespaceMaxDepth',
name: 'max-depth',
fieldLabel: gettext('Max. Depth'),
deleteEmpty: true,
cbind: {
deleteEmpty: '{!isCreate}',
},
},
],