[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:
Alexandre Aubin 2022-01-25 13:04:06 +01:00
parent 6d4220e9a0
commit 07396b8b34

View file

@ -177,6 +177,7 @@ def app_info(app, full=False):
if not ret["label"]: if not ret["label"]:
logger.warning(f"Failed to get label for app {app} ?") logger.warning(f"Failed to get label for app {app} ?")
ret["label"] = local_manifest["name"]
return ret return ret