[pbs-devel] [PATCH proxmox-backup] fix: tape ui: unset `deleteEmpty` in `TapeBackupWindow`
Stefan Sterz
s.sterz at proxmox.com
Fri Apr 5 16:12:57 CEST 2024
since the api rejects unknown parameters, deleteEmpty needs to be
unset here, because the endpoint for creating backups does not support
deleting parameters. otherwise a user will get a fairly cryptic error
message in the gui.
Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
www/tape/window/TapeBackup.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/tape/window/TapeBackup.js b/www/tape/window/TapeBackup.js
index 941b6b83..4c027ab0 100644
--- a/www/tape/window/TapeBackup.js
+++ b/www/tape/window/TapeBackup.js
@@ -39,6 +39,7 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
fieldLabel: gettext('Max Depth'),
disabled: true,
name: 'max-depth',
+ deleteEmpty: false,
},
{
xtype: 'pbsMediaPoolSelector',
--
2.39.2
More information about the pbs-devel
mailing list