From 086deea168d8cb2cffad7a8f676795080d1d788a Mon Sep 17 00:00:00 2001 From: barisgul15 Date: Thu, 26 Oct 2023 15:15:17 +0200 Subject: [PATCH] Update main.ts eslint prettifier errors are fixed. --- web/ts/components/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {