From 81c0b90447d2d4ca0a9df0aec8e42d53e22b4f76 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 29 Mar 2021 13:25:36 +0200 Subject: [PATCH] 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 --- www/tape/window/TapeRestore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js index a9deb745..d33080e4 100644 --- a/www/tape/window/TapeRestore.js +++ b/www/tape/window/TapeRestore.js @@ -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(',');