[pbs-devel] [PATCH proxmox-backup v4 5/5] ui: tape/BackupOverview: do not reload on restore
Dominik Csapak
d.csapak at proxmox.com
Fri May 21 12:20:22 CEST 2021
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 at proxmox.com>
---
www/tape/BackupOverview.js | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/www/tape/BackupOverview.js b/www/tape/BackupOverview.js
index 3d49678b..9ab3a128 100644
--- a/www/tape/BackupOverview.js
+++ b/www/tape/BackupOverview.js
@@ -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() {
--
2.20.1
More information about the pbs-devel
mailing list