Skip to content

Commit

Permalink
Fixing a renderer crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Apr 2, 2024
1 parent 2d9bec2 commit d9cb5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Webform.js
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ export default class Webform extends NestedDataComponent {
errors = [errors];
}

errors = errors.concat(this.customErrors);
errors = errors.concat(this.customErrors).filter((err) => !!err);

if (!errors.length) {
this.setAlert(false);
Expand Down

0 comments on commit d9cb5e5

Please sign in to comment.