mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] When no main app permission found, fallback to default label instead of having a 'None' label to prevent the webadmin from displaying an empty app list
This commit is contained in:
parent
6d4220e9a0
commit
07396b8b34
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ def app_info(app, full=False):
|
|||
|
||||
if not ret["label"]:
|
||||
logger.warning(f"Failed to get label for app {app} ?")
|
||||
ret["label"] = local_manifest["name"]
|
||||
return ret
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue