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

(cherry picked from commit 34a8777)
  • Loading branch information
lgw-gravitee committed Jan 10, 2025
1 parent 7ed7358 commit 05ae562
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,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 05ae562

Please sign in to comment.