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