diff --git a/src/app/services/agenda/list-box.service.ts b/src/app/services/agenda/list-box.service.ts index c1e6c663c..ed18982c3 100644 --- a/src/app/services/agenda/list-box.service.ts +++ b/src/app/services/agenda/list-box.service.ts @@ -12,7 +12,7 @@ export class ListBoxService { ){} - filterProfile(eventSource: EventListStore[], profile: 'md' | 'pr' | 'all') { + filterProfile(eventSource: EventListStore[] = [], profile: 'md' | 'pr' | 'all') { return eventSource.filter((e) => e.profile == profile) }