mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Fix the openselectivenodecreator
custom action on new canvas (#12580)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
This commit is contained in:
parent
73897c7662
commit
2110e9a051
|
@ -31,6 +31,7 @@ import type {
|
|||
IWorkflowDb,
|
||||
IWorkflowTemplate,
|
||||
NodeCreatorOpenSource,
|
||||
NodeFilterType,
|
||||
ToggleNodeCreatorOptions,
|
||||
WorkflowDataWithTemplateId,
|
||||
XYPosition,
|
||||
|
@ -1559,13 +1560,15 @@ function registerCustomActions() {
|
|||
registerCustomAction({
|
||||
key: 'openSelectiveNodeCreator',
|
||||
action: ({
|
||||
creatorview: creatorView,
|
||||
connectiontype: connectionType,
|
||||
node,
|
||||
}: {
|
||||
creatorview: NodeFilterType;
|
||||
connectiontype: NodeConnectionType;
|
||||
node: string;
|
||||
}) => {
|
||||
void onOpenSelectiveNodeCreator(node, connectionType);
|
||||
nodeCreatorStore.openSelectiveNodeCreator({ node, connectionType, creatorView });
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue