From 47e5cbdb034d44a6bc446d9dbfef602ee8a2a0cc Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 21 May 2021 12:20:21 +0200 Subject: [PATCH] ui: tape/BackupOverview: also allow to filter by group for restore Signed-off-by: Dominik Csapak --- www/tape/BackupOverview.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/tape/BackupOverview.js b/www/tape/BackupOverview.js index eb8ef907..3d49678b 100644 --- a/www/tape/BackupOverview.js +++ b/www/tape/BackupOverview.js @@ -182,6 +182,12 @@ Ext.define('PBS.TapeManagement.BackupOverview', { text, 'media-set-uuid': entry['media-set-uuid'], leaf: false, + restore: true, + prefilter: { + store, + snapshot: `${type}/${group}/`, + }, + 'media-set': media_set, iconCls: `fa ${iconCls}`, children: [], });