Skip to content

Commit

Permalink
fix(action): ensure data field is not merged when input block is enabled
Browse files Browse the repository at this point in the history
Fixes #1641
  • Loading branch information
zachowj committed Oct 9, 2024
1 parent 9401bf4 commit ef6e47b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nodes/action/ActionController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ export default class ActionController extends InputOutputController<
}
}

if (this.node.config.blockInputOverrides) {
return { ...configData, ...contextData };
}

return { ...configData, ...contextData, ...payload };
}

Expand Down

0 comments on commit ef6e47b

Please sign in to comment.