mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 16:57:08 +02:00
fix(ai-builder): Fix loading of Data Table nodes for AI Builder (#20546)
This commit is contained in:
parent
e21cc9601e
commit
c21968db3d
|
|
@ -148,7 +148,10 @@ export class AiWorkflowBuilderService {
|
|||
})
|
||||
.filter(
|
||||
(nodeType): nodeType is INodeTypeDescription =>
|
||||
nodeType !== undefined && nodeType.hidden !== true,
|
||||
// We filter out hidden nodes, except for the Data Table node which has custom hiding logic
|
||||
// See more details in DataTable.node.ts#L29
|
||||
nodeType !== undefined &&
|
||||
(nodeType.hidden !== true || nodeType.name === 'n8n-nodes-base.dataTable'),
|
||||
)
|
||||
.map((nodeType, _index, nodeTypes: INodeTypeDescription[]) => {
|
||||
// If the node type is a tool, we need to find the corresponding non-tool node type
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user