diff --git a/packages/core/client/src/workflow/nodes/query.tsx b/packages/core/client/src/workflow/nodes/query.tsx index 5e5f12b8d..58ebb29ea 100644 --- a/packages/core/client/src/workflow/nodes/query.tsx +++ b/packages/core/client/src/workflow/nodes/query.tsx @@ -54,7 +54,7 @@ export default { onChange({ type, options: { ...options, path } }); }}> {collection.fields - .filter(field => BaseTypeSet.has(field.uiSchema.type)) + .filter(field => BaseTypeSet.has(field.uiSchema?.type)) .map(field => ( {compile(field.uiSchema.title)} ))}