Skip to content

Commit 0544ba9

Browse files
committed
add comment for inital test
1 parent e4a32f7 commit 0544ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/default/calendar/calendar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ Module.register("calendar", {
705705
* Limit the number of days displayed
706706
* If limitDays is set > 0, limit display to that number of days
707707
*/
708-
if (this.config.limitDays > 0 && events.length > 0) {
708+
if (this.config.limitDays > 0 && events.length > 0) { // watch out for initial display before events arrive from helper
709709
// Group all events by date, events on the same date will be in a list with the key being the date.
710710
const eventsByDate = Object.groupBy(events, (ev) => this.timestampToMoment(ev.startDate).format("YYYY-MM-DD"));
711711
const newEvents = [];

0 commit comments

Comments
 (0)