Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
eslint prettifier error, added an "enter" at line 39
  • Loading branch information
barisgul15 committed Oct 26, 2023
1 parent 12ba887 commit fa48733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/ts/components/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export function mainContext(year: number, term: string) {
if (this.userCourses.length > 0) {
if (this.pinnedCourses.length > 0) {
//
let pinnedOrUserCourses : Course[] = this.userCourses.concat(this.pinnedCourses.filter((c : Course) => this.userCourses.indexOf(c) < 0));
let 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 {
Expand Down

0 comments on commit fa48733

Please sign in to comment.