mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-13 20:40:08 +01:00
Added lots of new stuff
This commit is contained in:
parent
ae3cb213b5
commit
3ba4e214f1
1 changed files with 2 additions and 2 deletions
|
|
@ -55,12 +55,12 @@ angular.module("luci")
|
|||
Object.assign(o.children, children);
|
||||
item = o;
|
||||
}
|
||||
obj.children_list = Object.keys(obj.children).map(function(key) { obj.children[key]; });
|
||||
obj.children_list = Object.keys(obj.children).map(key => obj.children[key]);
|
||||
obj.children_list.sort(function(a, b){
|
||||
return a.index - b.index;
|
||||
});
|
||||
return item;
|
||||
}
|
||||
}
|
||||
this.register = function(item){
|
||||
if(!item.path) return;
|
||||
item = this.insertLeaf(item.path, item);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue