Skip to content

Commit

Permalink
fix: unable to create file reporter
Browse files Browse the repository at this point in the history
fixes AM-4601
  • Loading branch information
lgw-gravitee committed Jan 9, 2025
1 parent 5774363 commit 34a8777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class ReporterComponent implements OnInit {
}

validateName() {
this.hasName = this.reporter.name !== '' && this.reporter.name.trim() !== '';
this.hasName = this.reporter?.name && this.reporter.name !== '' && this.reporter.name.trim() !== '';
}

isDefaultReporter() {
Expand Down

0 comments on commit 34a8777

Please sign in to comment.