dynamic system menu

This commit is contained in:
Xuan Sang LE 2018-01-29 19:21:43 +01:00
parent 33ab53dddb
commit 1311ea2a88
2 changed files with 2 additions and 1 deletions

View File

@ -276,6 +276,7 @@ self.OS.GUI =
#now get app list
_API.packages.fetch (r) ->
if r.result
r.result = ( it for it in r.result when it.app )
v.text = v.name for k, v of r.result
menu.child[0].child = r.result if r.result
($ "[data-id = 'os_menu']", "#syspanel")[0].set "items", [menu]

View File

@ -1,5 +1,5 @@
{
"app":"CoreServices",
"app":null,
"name":"CoreServices",
"description":"This is the core services",
"info":{