Skip to content

Commit

Permalink
fix(n8n Form Trigger Node): Do not open pop up when data is pinned in…
Browse files Browse the repository at this point in the history
… trigger (#8781)
  • Loading branch information
michael-radency authored and netroy committed Mar 5, 2024
1 parent b906197 commit 59b9b7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/editor-ui/src/mixins/workflowRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,11 @@ export const workflowRun = defineComponent({
this.nodeHelpers.updateNodesExecutionIssues();

const runWorkflowApiResponse = await this.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;
}
Expand Down

0 comments on commit 59b9b7a

Please sign in to comment.