diff --git a/src/pages/schedule/schedule.component.ts b/src/pages/schedule/schedule.component.ts index a2d666c..a058a1c 100644 --- a/src/pages/schedule/schedule.component.ts +++ b/src/pages/schedule/schedule.component.ts @@ -130,10 +130,10 @@ export class ScheduleComponent { this.startWeek = this.startTerm; } - protected handleWeekEvent(eventData: boolean | null) { - if (eventData === null) { + protected handleWeekEvent(forward: boolean | null) { + if (forward === null) { this.calculateCurrentWeek(); - } else if (eventData) { + } else if (forward) { this.startWeek = addDays(this.startWeek, 7); } else { this.startWeek = addDays(this.startWeek, -7);