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,
|
IWorkflowDb,
|
||||||
IWorkflowTemplate,
|
IWorkflowTemplate,
|
||||||
NodeCreatorOpenSource,
|
NodeCreatorOpenSource,
|
||||||
|
NodeFilterType,
|
||||||
ToggleNodeCreatorOptions,
|
ToggleNodeCreatorOptions,
|
||||||
WorkflowDataWithTemplateId,
|
WorkflowDataWithTemplateId,
|
||||||
XYPosition,
|
XYPosition,
|
||||||
|
@ -1554,12 +1555,15 @@ function registerCustomActions() {
|
||||||
registerCustomAction({
|
registerCustomAction({
|
||||||
key: 'openSelectiveNodeCreator',
|
key: 'openSelectiveNodeCreator',
|
||||||
action: ({
|
action: ({
|
||||||
|
creatorview: creatorView,
|
||||||
connectiontype: connectionType,
|
connectiontype: connectionType,
|
||||||
node,
|
node,
|
||||||
}: {
|
}: {
|
||||||
|
creatorview: NodeFilterType;
|
||||||
connectiontype: NodeConnectionType;
|
connectiontype: NodeConnectionType;
|
||||||
node: string;
|
node: string;
|
||||||
}) => {
|
}) => {
|
||||||
|
nodeCreatorStore.openSelectiveNodeCreator({ node, connectionType, creatorView });
|
||||||
void onOpenSelectiveNodeCreator(node, connectionType);
|
void onOpenSelectiveNodeCreator(node, connectionType);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue