mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(n8n Form Trigger Node): Do not open pop up when data is pinned in trigger (#8781)
This commit is contained in:
@@ -278,8 +278,11 @@ export function useRunWorkflow(options: { router: ReturnType<typeof useRouter> }
|
|||||||
nodeHelpers.updateNodesExecutionIssues();
|
nodeHelpers.updateNodesExecutionIssues();
|
||||||
|
|
||||||
const runWorkflowApiResponse = await runWorkflowApi(startRunData);
|
const runWorkflowApiResponse = await runWorkflowApi(startRunData);
|
||||||
|
const pinData = workflowData.pinData ?? {};
|
||||||
|
|
||||||
for (const node of workflowData.nodes) {
|
for (const node of workflowData.nodes) {
|
||||||
|
if (pinData[node.name]) continue;
|
||||||
|
|
||||||
if (![FORM_TRIGGER_NODE_TYPE, WAIT_NODE_TYPE].includes(node.type)) {
|
if (![FORM_TRIGGER_NODE_TYPE, WAIT_NODE_TYPE].includes(node.type)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user