diff --git a/packages/editor-ui/src/views/NodeView.v2.vue b/packages/editor-ui/src/views/NodeView.v2.vue index fda3f17e6f..09f07251c8 100644 --- a/packages/editor-ui/src/views/NodeView.v2.vue +++ b/packages/editor-ui/src/views/NodeView.v2.vue @@ -31,6 +31,7 @@ import type { IWorkflowDb, IWorkflowTemplate, NodeCreatorOpenSource, + NodeFilterType, ToggleNodeCreatorOptions, WorkflowDataWithTemplateId, XYPosition, @@ -1554,12 +1555,15 @@ function registerCustomActions() { registerCustomAction({ key: 'openSelectiveNodeCreator', action: ({ + creatorview: creatorView, connectiontype: connectionType, node, }: { + creatorview: NodeFilterType; connectiontype: NodeConnectionType; node: string; }) => { + nodeCreatorStore.openSelectiveNodeCreator({ node, connectionType, creatorView }); void onOpenSelectiveNodeCreator(node, connectionType); }, });