diff --git a/web/ts/components/main.ts b/web/ts/components/main.ts index 9fbc711b8..9e2197226 100644 --- a/web/ts/components/main.ts +++ b/web/ts/components/main.ts @@ -36,9 +36,9 @@ export function mainContext(year: number, term: string) { if (this.userCourses.length > 0) { if (this.pinnedCourses.length > 0) { // - const pinnedOrUserCourses : Course[] = this.userCourses.concat( - this.pinnedCourses.filter((c : Course) => this.userCourses.indexOf(c) < 0) - ); + const pinnedOrUserCourses: Course[] = this.userCourses.concat( + this.pinnedCourses.filter((c : Course) => this.userCourses.indexOf(c) < 0), + ); this.recently.set(this.getRecently(pinnedOrUserCourses)); this.loadProgresses(pinnedOrUserCourses.map((c) => c.LastRecording.ID)); } else {