ui: tape/TapeRestore: fix restoring without mapping

we have to delete the 'mapping' variable in any case since it's not
a valid api parameter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-03-29 13:25:36 +02:00 committed by Dietmar Maurer
parent ee9fa953de
commit 81c0b90447

View File

@ -30,8 +30,8 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
if (values.mapping) {
datastores.push(values.mapping);
delete values.mapping;
}
delete values.mapping;
values.store = datastores.join(',');