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