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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
01a99f5651
commit
7d5049c350
@ -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',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user