mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-10 09:14:37 +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
|
newEvents.sort(function (a, b) {
|
||||||
events = newEvents;
|
return a.startDate - b.startDate;
|
||||||
|
});
|
||||||
|
|
||||||
|
events = newEvents.slice(0, maximumEntries);
|
||||||
|
|
||||||
self.broadcastEvents();
|
self.broadcastEvents();
|
||||||
scheduleTimer();
|
scheduleTimer();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user