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,
|
IWorkflowDb,
|
||||||
IWorkflowTemplate,
|
IWorkflowTemplate,
|
||||||
NodeCreatorOpenSource,
|
NodeCreatorOpenSource,
|
||||||
|
NodeFilterType,
|
||||||
ToggleNodeCreatorOptions,
|
ToggleNodeCreatorOptions,
|
||||||
WorkflowDataWithTemplateId,
|
WorkflowDataWithTemplateId,
|
||||||
XYPosition,
|
XYPosition,
|
||||||
|
@ -1559,13 +1560,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;
|
||||||
}) => {
|
}) => {
|
||||||
void onOpenSelectiveNodeCreator(node, connectionType);
|
nodeCreatorStore.openSelectiveNodeCreator({ node, connectionType, creatorView });
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue