Skip to content

Commit

Permalink
fix:optional chain expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Quelca committed Feb 2, 2024
1 parent e4c2a5a commit a472989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/linkConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default {
const targetNode = get(this.currentTarget, 'component.node');
const targetConfig = targetNode && this.nodeRegistry[targetNode.type];
// Validate the flow with the new target node.
const isValid = this.isValid && this.isValid({
const isValid = this.isValid?.({
sourceShape: this.sourceShape,
targetShape: this.currentTarget,
targetConfig,
Expand Down

0 comments on commit a472989

Please sign in to comment.