From 43637ea7aeac13c65673db2bc80aa3562fad3f24 Mon Sep 17 00:00:00 2001 From: axolotle Date: Sun, 6 Feb 2022 20:47:39 +0100 Subject: [PATCH] add 'serveurError' prop to panels data --- app/src/helpers/yunohostArguments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/helpers/yunohostArguments.js b/app/src/helpers/yunohostArguments.js index 11a10a9d..2e962dc0 100644 --- a/app/src/helpers/yunohostArguments.js +++ b/app/src/helpers/yunohostArguments.js @@ -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] = {}