This commit is contained in:
Jan Prochazka
2021-12-08 22:03:34 +01:00
parent 177f6eaed5
commit 43cdf9fab1

View File

@@ -22,6 +22,7 @@
label={arg.label} label={arg.label}
isNative isNative
{name} {name}
defaultValue={arg.default}
options={arg.options.map(opt => options={arg.options.map(opt =>
_.isString(opt) ? { label: opt, value: opt } : { label: opt.name, value: opt.value } _.isString(opt) ? { label: opt, value: opt } : { label: opt.name, value: opt.value }
)} )}