From e0a158c9cc26b1c2d1afe5ad4836ec1c3493e00c Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Fri, 10 Dec 2021 13:13:40 +0100 Subject: [PATCH] F #5422: Fix minor in boot schema (#1662) (cherry picked from commit b5a68f35c44f6444ae232861139f2c87ada4efab) --- .../CreateForm/Steps/ExtraConfiguration/booting/bootSchema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/bootSchema.js b/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/bootSchema.js index 7c2f5c0b77..42b73d6132 100644 --- a/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/bootSchema.js +++ b/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/bootSchema.js @@ -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()