diff --git a/client/wfnews-war/src/main/angular/src/app/components/public-event-page/public-event-page.component.ts b/client/wfnews-war/src/main/angular/src/app/components/public-event-page/public-event-page.component.ts index 099a3e9093..f2453b3e6f 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/public-event-page/public-event-page.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/public-event-page/public-event-page.component.ts @@ -129,6 +129,9 @@ export class PublicEventPageComponent { async populateIncident(eventNumber: string) { const simpleIncident: SimpleIncident = new SimpleIncident(); + if (!eventNumber) { + return; + } try { this.publishedIncidentService.fetchPublishedIncident(eventNumber).subscribe(response => { if (response) {