Skip to content

Commit

Permalink
fix(editor): Fix the openselectivenodecreator custom action on new …
Browse files Browse the repository at this point in the history
…canvas (#12580)
  • Loading branch information
alexgrozav authored and riascho committed Jan 14, 2025
1 parent 0c01993 commit 6abba15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/editor-ui/src/views/NodeView.v2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import type {
IWorkflowDb,
IWorkflowTemplate,
NodeCreatorOpenSource,
NodeFilterType,
ToggleNodeCreatorOptions,
WorkflowDataWithTemplateId,
XYPosition,
Expand Down Expand Up @@ -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 });
},
});
Expand Down

0 comments on commit 6abba15

Please sign in to comment.