start experimental tape management GUI

You need to set the environment TEST_TAPE_GUI=1 to enable this.
The current GUI is only a placeholder.
This commit is contained in:
Dietmar Maurer
2020-12-04 12:50:08 +01:00
parent 179145dc24
commit ff50c07ebf
3 changed files with 32 additions and 0 deletions

View File

@ -116,6 +116,19 @@ Ext.define('PBS.view.main.NavigationTree', {
let root = view.getStore().getRoot();
if (PBS.TapeManagement !== undefined) {
if (!root.findChild('id', 'tape_management', false)) {
root.insertChild(3, {
text: "Tape Management",
iconCls: 'fa fa-gears',
id: 'tape_management',
path: 'pbsTapeManagement',
expanded: true,
children: [],
});
}
}
records.sort((a, b) => a.id.localeCompare(b.id));
var list = root.findChild('id', 'datastores', false);