We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cfd88e commit 3a7818dCopy full SHA for 3a7818d
ui/src/views/knowledge-workflow/component/action/DataSource.vue
@@ -111,7 +111,9 @@ provide('get_extra', get_extra)
111
const sourceChange = (node_id: string) => {
112
base_form_data.value.node_id = node_id
113
const n = source_node_list.value.find((n: any) => n.id == node_id)
114
- extra.value.current_tool_id = n.properties.node_data.tool_lib_id
+ if (n.properties.node_data && n.properties.node_data.tool_lib_id) {
115
+ extra.value.current_tool_id = n.properties.node_data.tool_lib_id
116
+ }
117
node_id = n
118
? [WorkflowType.DataSourceLocalNode, WorkflowType.DataSourceWebNode].includes(n.type)
119
? n.type
0 commit comments