mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-25 19:41:14 -08:00
fix(n8n Form Trigger Node): Do not open pop up when data is pinned in trigger (#8781)
This commit is contained in:
parent
961d6b9266
commit
0481e6e6e7
|
@ -278,8 +278,11 @@ export function useRunWorkflow(options: { router: ReturnType<typeof useRouter> }
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue