[pbs-devel] [PATCH proxmox-backup 6/6] ui: verify job: don't send delete value on creation
Dominik Csapak
d.csapak at proxmox.com
Wed Mar 6 12:21:04 CET 2024
the conditional `deleteEmpty` was missing only for max-depth
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/window/VerifyJobEdit.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/www/window/VerifyJobEdit.js b/www/window/VerifyJobEdit.js
index 7899dcd4..55490025 100644
--- a/www/window/VerifyJobEdit.js
+++ b/www/window/VerifyJobEdit.js
@@ -86,7 +86,9 @@ Ext.define('PBS.window.VerifyJobEdit', {
xtype: 'pbsNamespaceMaxDepth',
name: 'max-depth',
fieldLabel: gettext('Max. Depth'),
- deleteEmpty: true,
+ cbind: {
+ deleteEmpty: '{!isCreate}',
+ },
},
],
--
2.39.2
More information about the pbs-devel
mailing list