fix(n8n Form Trigger Node): Do not open pop up when data is pinned in trigger (#8781)

This commit is contained in:
Michael Kret 2024-03-01 12:43:10 +02:00 committed by GitHub
parent 961d6b9266
commit 0481e6e6e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}