ui: tape/BackupOverview: do not reload on restore

a restore does not change the tape content, so a reload has no benefit here.
since we're touching those lines, change to 'autoShow' property

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-05-21 12:20:22 +02:00 committed by Thomas Lamprecht
parent 47e5cbdb03
commit f36c659365
1 changed files with 2 additions and 6 deletions

View File

@ -23,15 +23,11 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
let uuid = rec.data['media-set-uuid'];
let prefilter = rec.data.prefilter;
Ext.create('PBS.TapeManagement.TapeRestoreWindow', {
autoShow: true,
mediaset,
uuid,
prefilter,
listeners: {
destroy: function() {
me.reload();
},
},
}).show();
});
},
loadContent: async function() {