diff --git a/apps/antalmanac/src/stores/Schedules.ts b/apps/antalmanac/src/stores/Schedules.ts index a2c3c8114..8fc35461e 100644 --- a/apps/antalmanac/src/stores/Schedules.ts +++ b/apps/antalmanac/src/stores/Schedules.ts @@ -126,6 +126,14 @@ export class Schedules { this.addCourse(course, to, false); } } + + for (const customEvent of this.getCurrentCustomEvents()) { + if (to === this.getNumberOfSchedules()) { + this.addCustomEvent(customEvent, [...Array(to).keys()]); + } else { + this.addCustomEvent(customEvent, [to]); + } + } } // --- Course related methods ---