mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
app config panel: Add supports_config_panel in app_info for webadmin
This commit is contained in:
parent
76bd3a6f83
commit
52b3cb5622
1 changed files with 3 additions and 0 deletions
|
@ -235,6 +235,9 @@ def app_info(app, full=False):
|
|||
ret["supports_multi_instance"] = is_true(
|
||||
local_manifest.get("multi_instance", False)
|
||||
)
|
||||
ret["supports_config_panel"] = os.path.exists(
|
||||
os.path.join(setting_path, "config_panel.toml")
|
||||
)
|
||||
|
||||
ret["permissions"] = permissions
|
||||
ret["label"] = permissions.get(app + ".main", {}).get("label")
|
||||
|
|
Loading…
Add table
Reference in a new issue