1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

F #5422: Fix minor in boot schema (#1662)

(cherry picked from commit b5a68f35c44f6444ae232861139f2c87ada4efab)
This commit is contained in:
Sergio Betanzos 2021-12-10 13:13:40 +01:00 committed by Tino Vazquez
parent 7f7c7d3074
commit e0a158c9cc
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -163,7 +163,7 @@ export const FIRMWARE = {
label: T.Firmware,
tooltip: T.FirmwareConcept,
notOnHypervisors: [firecracker, lxc],
type: ([_, custom]) => (custom ? INPUT_TYPES.TEXT : INPUT_TYPES.SELECT),
type: ([_, custom] = []) => (custom ? INPUT_TYPES.TEXT : INPUT_TYPES.SELECT),
validation: string()
.trim()
.notRequired()