mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] No value displayed in config panel
This commit is contained in:
parent
bcd07f1e47
commit
911c5deeb0
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue