diff --git a/src/renderer/src/stories/JSONSchemaInput.js b/src/renderer/src/stories/JSONSchemaInput.js index f14f3d667..e36981e2b 100644 --- a/src/renderer/src/stories/JSONSchemaInput.js +++ b/src/renderer/src/stories/JSONSchemaInput.js @@ -514,7 +514,7 @@ export class JSONSchemaInput extends LitElement { // Remove requirement from form schema (and force if conditional requirement) else { - const requirements = formSchema.required + const requirements = formSchema.required; if (requirements && requirements.includes(name)) { const idx = requirements.indexOf(name); if (idx > -1) requirements.splice(idx, 1);