diff --git a/frontend/src/app/event/event-editor/event-editor.component.ts b/frontend/src/app/event/event-editor/event-editor.component.ts index 6e8cfce22..8b9a7c6e8 100644 --- a/frontend/src/app/event/event-editor/event-editor.component.ts +++ b/frontend/src/app/event/event-editor/event-editor.component.ts @@ -81,7 +81,7 @@ export class EventEditorComponent { ) { this.profile = this.profileService.profile()!; - const data = route.snapshot.data as { + const data = this.route.snapshot.data as { event: Event; }; this.event = data.event;