From 911c5deeb0c3492e47805123381dcf5a49730300 Mon Sep 17 00:00:00 2001 From: ljf Date: Thu, 26 Aug 2021 19:33:50 +0200 Subject: [PATCH] [fix] No value displayed in config panel --- 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 70fb21aa..bd322fc3 100644 --- a/app/src/helpers/yunohostArguments.js +++ b/app/src/helpers/yunohostArguments.js @@ -56,7 +56,7 @@ export function adressToFormValue (address) { * @return {Object} an formated argument containing formItem props, validation and base value. */ export function formatYunoHostArgument (arg) { - let value = null + let value = (arg.value !== undefined) ? arg.value : null const validation = {} arg.ask = formatI18nField(arg.ask) const field = {