mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-10 01:04:28 +00:00
revert fetcher filtering results
This commit is contained in:
parent
26caeec0c1
commit
485f662d75
@ -395,8 +395,11 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
|
||||
}
|
||||
});
|
||||
|
||||
// send all our events to upper to merge, sort and reduce for display
|
||||
events = newEvents;
|
||||
newEvents.sort(function (a, b) {
|
||||
return a.startDate - b.startDate;
|
||||
});
|
||||
|
||||
events = newEvents.slice(0, maximumEntries);
|
||||
|
||||
self.broadcastEvents();
|
||||
scheduleTimer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user