Skip to content

Commit

Permalink
fix(n8n Form Node): Open form page if form trigger has pin data (#11673)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-radency authored Nov 13, 2024
1 parent 94b5873 commit f0492bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/editor-ui/src/composables/useRunWorkflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,10 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u

let isFormShown =
!options.destinationNode &&
workflowsStore.allNodes.some((node) => node.type === FORM_TRIGGER_NODE_TYPE);
workflowsStore.allNodes.some(
(node) =>
node.type === FORM_TRIGGER_NODE_TYPE && !workflowsStore?.pinnedWorkflowData?.[node.name],
);

const resolveWaitingNodesData = async (): Promise<void> => {
return await new Promise<void>((resolve) => {
Expand Down

0 comments on commit f0492bd

Please sign in to comment.