fix: tape ui: unset deleteEmpty in TapeBackupWindow

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@proxmox.com>
This commit is contained in:
Stefan Sterz 2024-04-05 16:12:57 +02:00 committed by Thomas Lamprecht
parent 9ac2a76a04
commit 5e12ca4ce7

View File

@ -48,6 +48,7 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
fieldLabel: gettext('Max Depth'),
disabled: true,
name: 'max-depth',
deleteEmpty: false,
},
{
xtype: 'pbsMediaPoolSelector',