diff --git a/packages/editor-ui/src/hooks/cloud.ts b/packages/editor-ui/src/hooks/cloud.ts index f4990cba63..4c68bc4d28 100644 --- a/packages/editor-ui/src/hooks/cloud.ts +++ b/packages/editor-ui/src/hooks/cloud.ts @@ -268,7 +268,7 @@ export const n8nCloudHooks: PartialDeep = { dialogVisibleChanged: [ (_, meta) => { const segmentStore = useSegment(); - const currentValue = meta.value.slice(1); + const currentValue = meta.value?.slice(1) ?? ''; let isValueDefault = false; switch (typeof meta.parameter.default) {