We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a32f7 commit 0544ba9Copy full SHA for 0544ba9
modules/default/calendar/calendar.js
@@ -705,7 +705,7 @@ Module.register("calendar", {
705
* Limit the number of days displayed
706
* If limitDays is set > 0, limit display to that number of days
707
*/
708
- if (this.config.limitDays > 0 && events.length > 0) {
+ if (this.config.limitDays > 0 && events.length > 0) { // watch out for initial display before events arrive from helper
709
// Group all events by date, events on the same date will be in a list with the key being the date.
710
const eventsByDate = Object.groupBy(events, (ev) => this.timestampToMoment(ev.startDate).format("YYYY-MM-DD"));
711
const newEvents = [];
0 commit comments