App is installed when it appears in packages, not in apps
This commit is contained in:
parent
27cb356d92
commit
b5f8f3cf84
@ -182,7 +182,7 @@ class WSGIApp:
|
|||||||
actionable_apps = sorted(set([k for k, v in online_packages.items() if 'title' in v] + list(self.conf['apps'].keys())))
|
actionable_apps = sorted(set([k for k, v in online_packages.items() if 'title' in v] + list(self.conf['apps'].keys())))
|
||||||
app_data = {}
|
app_data = {}
|
||||||
for app in actionable_apps:
|
for app in actionable_apps:
|
||||||
installed = app in self.conf['apps']
|
installed = app in self.conf['packages']
|
||||||
title = self.conf['packages'][app]['title'] if installed else online_packages[app]['title']
|
title = self.conf['packages'][app]['title'] if installed else online_packages[app]['title']
|
||||||
visible = self.conf['apps'][app]['visible'] if installed else False
|
visible = self.conf['apps'][app]['visible'] if installed else False
|
||||||
autostarted = self.appmgr.is_service_autostarted(app) if installed else False
|
autostarted = self.appmgr.is_service_autostarted(app) if installed else False
|
||||||
|
Loading…
Reference in New Issue
Block a user