diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte index a41fddc12e..b6fa0420b7 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte @@ -53,7 +53,7 @@ : capitalize(fieldTypeToTsType(fieldType))} - {#if !onlyStatic && componentInput.type && componentInput.type != 'eval'} + {#if !onlyStatic && componentInput?.type && componentInput.type != 'eval'} { diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte index b5fc8d889b..3a2e6eb97c 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte @@ -15,7 +15,7 @@ {#if inputSpecs}
{#each Object.keys(inputSpecsConfiguration) as k} - {#if inputSpecs[k]?.ctype == undefined} + {#if inputSpecs[k] && inputSpecs[k]?.ctype == undefined} {@const meta = inputSpecsConfiguration?.[k]}