mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix: fix openSelectiveNodeCreator custom action on new canvas
This commit is contained in:
parent
c6b491cdbb
commit
5b21d15bab
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue