mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Missing name or bad format management
This commit is contained in:
parent
619b26f73c
commit
596d05ae81
1 changed files with 2 additions and 2 deletions
|
@ -2145,7 +2145,7 @@ def _get_app_config_panel(app_id):
|
|||
for key, value in panels:
|
||||
panel = {
|
||||
"id": key,
|
||||
"name": value["name"],
|
||||
"name": value.get("name", ""),
|
||||
"sections": [],
|
||||
}
|
||||
|
||||
|
@ -2158,7 +2158,7 @@ def _get_app_config_panel(app_id):
|
|||
for section_key, section_value in sections:
|
||||
section = {
|
||||
"id": section_key,
|
||||
"name": section_value["name"],
|
||||
"name": section_value.get("name", ""),
|
||||
"options": [],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue