From 7d5049c3503a615c0954ded2b3ee64513df93d2a Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 26 May 2021 19:09:06 +0200 Subject: [PATCH] ui: tape restore wizard: always show snapshot grid looks (almost confusingly) empty else and no real disadvantage in showing the disabled one until a media-set is selected and loaded Signed-off-by: Thomas Lamprecht --- www/tape/window/TapeRestore.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js index 90aa0d5b..a3137f46 100644 --- a/www/tape/window/TapeRestore.js +++ b/www/tape/window/TapeRestore.js @@ -229,7 +229,6 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', { me.setDataStores(Object.keys(datastores), true); if (response.result.data.length > 0) { grid.setDisabled(false); - grid.setVisible(true); grid.setData(response.result.data); grid.getSelectionModel().selectAll(); // we've shown a big list, center the window again @@ -356,7 +355,6 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', { name: 'snapshots', height: 322, disabled: true, // will be shown/enabled on successful load - hidden: true, listeners: { change: 'updateDatastores', },