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:
parent
ee9fa953de
commit
81c0b90447
|
@ -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(',');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue