add 'serveurError' prop to panels data

This commit is contained in:
axolotle 2022-02-06 20:47:39 +01:00
parent c672438faa
commit 43637ea7ae

View file

@ -295,7 +295,7 @@ export function formatYunoHostConfigPanels (data) {
}
for (const { id: panelId, name, help, sections } of data.panels) {
const panel = { id: panelId, sections: [] }
const panel = { id: panelId, sections: [], serverError: '' }
result.forms[panelId] = {}
result.validations[panelId] = {}
result.errors[panelId] = {}