gui: display DataStoreConfig above DataStoreContent
This commit is contained in:
parent
e8f0ad19af
commit
555dfe7b8e
@ -18,12 +18,6 @@ Ext.define('PBS.store.NavigationStore', {
|
||||
path: 'pbsSystemConfiguration',
|
||||
expanded: true,
|
||||
children: [
|
||||
{
|
||||
text: gettext('Data Store'),
|
||||
iconCls: 'fa fa-archive',
|
||||
path: 'pbsDataStoreConfig',
|
||||
leaf: true
|
||||
},
|
||||
{
|
||||
text: gettext('Subscription'),
|
||||
iconCls: 'fa fa-support',
|
||||
@ -67,17 +61,17 @@ Ext.define('PBS.view.main.NavigationTree', {
|
||||
|
||||
let root = view.getStore().getRoot();
|
||||
|
||||
if (!root.findChild('path', 'pbsDataStoreList', false)) {
|
||||
if (!root.findChild('path', 'pbsDataStoreConfig', false)) {
|
||||
root.appendChild({
|
||||
text: gettext('Data Store'),
|
||||
expanded: true,
|
||||
iconCls: 'fa fa-archive',
|
||||
path: 'pbsDataStoreList',
|
||||
path: 'pbsDataStoreConfig',
|
||||
leaf: false
|
||||
});
|
||||
}
|
||||
|
||||
var list = root.findChild('path', 'pbsDataStoreList', false);
|
||||
var list = root.findChild('path', 'pbsDataStoreConfig', false);
|
||||
var length = records.length;
|
||||
var lookup_hash = {};
|
||||
for (var i = 0; i < length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user