mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
fix regression calendar.maximumEntries not used
This commit is contained in:
parent
9a769203e3
commit
0baf58f3fd
@ -498,7 +498,8 @@ const CalendarUtils = {
|
|||||||
return a.startDate - b.startDate;
|
return a.startDate - b.startDate;
|
||||||
});
|
});
|
||||||
|
|
||||||
return newEvents;
|
let maxEvents=newEvents.slice(0,config.maximumEntries)
|
||||||
|
return maxEvents;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user