diff --git a/ui/src/workflow/nodes/start-node/index.vue b/ui/src/workflow/nodes/start-node/index.vue index f7ff22ee4..b4e8055f2 100644 --- a/ui/src/workflow/nodes/start-node/index.vue +++ b/ui/src/workflow/nodes/start-node/index.vue @@ -104,7 +104,7 @@ const refreshFieldList = () => { const refreshChatFieldList = () => { const chatFieldList = props.nodeModel.graphModel.nodes .filter((v: any) => v.id === 'base-node') - .map((v: any) => cloneDeep(v.properties.chat_input_field_list)) + .map((v: any) => cloneDeep(v.properties.chat_input_field_list || [])) .reduce((x: any, y: any) => [...x, ...y], []) .map((i: any) => ({ label: i.label, value: i.field }))