ui: tape: add Restore Window

in the BackupOverview, when a media-set is selected

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2021-02-02 14:00:38 +01:00
committed by Dietmar Maurer
parent 40590561fe
commit 85ac35aa9a
3 changed files with 54 additions and 0 deletions

View File

@ -148,6 +148,14 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
text: gettext('New Backup'),
handler: 'backup',
},
{
xtype: 'proxmoxButton',
disabled: true,
text: gettext('Restore Media Set'),
handler: 'restore',
parentXType: 'treepanel',
enableFn: (rec) => !!rec.data.uuid,
},
],
columns: [