fix(n8n Form Node): Open form page if form trigger has pin data (#11673)

This commit is contained in:
Michael Kret 2024-11-13 13:13:50 +02:00 committed by GitHub
parent 94b5873248
commit f0492bd3bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) => {