mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #~: Fix minor in utils (#1575)
This commit is contained in:
parent
916d85eeee
commit
6351af28d4
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user