mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 17:38:20 +01:00
dynamic system menu
This commit is contained in:
parent
33ab53dddb
commit
1311ea2a88
@ -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]
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"app":"CoreServices",
|
||||
"app":null,
|
||||
"name":"CoreServices",
|
||||
"description":"This is the core services",
|
||||
"info":{
|
||||
|
Loading…
Reference in New Issue
Block a user