diff --git a/www/tape/BackupOverview.js b/www/tape/BackupOverview.js index e6a78574..e8273f86 100644 --- a/www/tape/BackupOverview.js +++ b/www/tape/BackupOverview.js @@ -17,6 +17,12 @@ Ext.define('PBS.TapeManagement.BackupOverview', { }); }, + restore: function() { + Ext.create('PBS.TapeManagement.TapeRestoreWindow', { + autoShow: true, + }); + }, + restoreBackups: function(view, rI, cI, item, e, rec) { let me = this; @@ -255,6 +261,10 @@ Ext.define('PBS.TapeManagement.BackupOverview', { text: gettext('New Backup'), handler: 'backup', }, + { + text: gettext('Restore'), + handler: 'restore', + }, ], columns: [