refactor: change name arg
This commit is contained in:
parent
3aefee124a
commit
f26d74aae5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user