This commit is contained in:
axolotle 2024-03-19 20:22:19 +01:00
parent 1d892350cd
commit cbea05fa9b

View file

@ -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)
} }