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

This commit is contained in:
Sergio Betanzos authored and GitHub committed 2021-12-10 13:13:40 +01:00
1 parent a178750a10
commit b5a68f35c4
1 file changed
+1 -1
@@ -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()