mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
lint
This commit is contained in:
parent
1d892350cd
commit
cbea05fa9b
1 changed files with 2 additions and 2 deletions
|
@ -426,11 +426,11 @@ export function formatYunoHostConfigPanels(data) {
|
||||||
const section = {
|
const section = {
|
||||||
id: _section.id,
|
id: _section.id,
|
||||||
isActionSection: _section.is_action_section,
|
isActionSection: _section.is_action_section,
|
||||||
visible: _section.visible
|
visible: _section.visible,
|
||||||
}
|
}
|
||||||
if (_section.help) section.help = formatI18nField(_section.help)
|
if (_section.help) section.help = formatI18nField(_section.help)
|
||||||
if (_section.name) section.name = formatI18nField(_section.name)
|
if (_section.name) section.name = formatI18nField(_section.name)
|
||||||
if (typeof _section.visible === "string") {
|
if (typeof _section.visible === 'string') {
|
||||||
addEvaluationGetter('visible', section, section.visible, result.forms)
|
addEvaluationGetter('visible', section, section.visible, result.forms)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue