Reverted change in calendarfetcher so events are limited to maximumEntries

This commit is contained in:
Johan Alvinger
2020-11-24 14:52:08 +01:00
parent e0ceed5a63
commit 21284e7795
2 changed files with 2 additions and 1 deletions

View File

@@ -376,7 +376,7 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
return a.startDate - b.startDate;
});
events = newEvents;
events = newEvents.slice(0, maximumEntries);
self.broadcastEvents();
scheduleTimer();