From 0481e6e6e7259cef5f4ac1c88dd0b45ef402f166 Mon Sep 17 00:00:00 2001 From: Michael Kret <88898367+michael-radency@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:43:10 +0200 Subject: [PATCH] fix(n8n Form Trigger Node): Do not open pop up when data is pinned in trigger (#8781) --- packages/editor-ui/src/composables/useRunWorkflow.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/editor-ui/src/composables/useRunWorkflow.ts b/packages/editor-ui/src/composables/useRunWorkflow.ts index 764bef62db..5e4cee4427 100644 --- a/packages/editor-ui/src/composables/useRunWorkflow.ts +++ b/packages/editor-ui/src/composables/useRunWorkflow.ts @@ -278,8 +278,11 @@ export function useRunWorkflow(options: { router: ReturnType } nodeHelpers.updateNodesExecutionIssues(); const runWorkflowApiResponse = await runWorkflowApi(startRunData); + const pinData = workflowData.pinData ?? {}; for (const node of workflowData.nodes) { + if (pinData[node.name]) continue; + if (![FORM_TRIGGER_NODE_TYPE, WAIT_NODE_TYPE].includes(node.type)) { continue; }