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
1 changed files with 1 additions and 1 deletions

View File

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