fix agenda

This commit is contained in:
Peter Maquiran
2023-03-30 15:22:40 +01:00
parent b7d878851e
commit 936878f6cd
6 changed files with 46 additions and 29 deletions
+1 -1
View File
@@ -528,7 +528,7 @@ export class EventsService {
}
async getEventsByCalendarId( startdate: string, enddate: string, calendarId: string) {
async getEventsByCalendarId( startdate: string, enddate: string, calendarId: any) {
const calendars = SessionStore.user.OwnerCalendars.concat(SessionStore.user.SharedCalendars)
const agendasCalendars = calendars.filter( e => e.CalendarId == calendarId)