mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #~: Fix minor in utils (#1575)
This commit is contained in:
1 parent
916d85eeee
commit
6351af28d4
1 file changed
+1
-1
@@ -271,7 +271,7 @@ export const schemaUserInput = ({ mandatory, name, type, options, default: defau
|
||||
.trim()
|
||||
.concat(requiredSchema(mandatory, name, string()))
|
||||
.oneOf(values.map(({ value }) => value))
|
||||
.default(defaultValue ?? firstOption)
|
||||
.default(defaultValue || firstOption)
|
||||
}
|
||||
}
|
||||
case USER_INPUT_TYPES.array: {
|
||||
|
||||
Reference in new issue
Block a user