Skip to content

Commit

Permalink
Issue 1185: Recent VODs section doesnt show pinned (public) courses
Browse files Browse the repository at this point in the history
final eslint error is fixed
  • Loading branch information
barisgul15 committed Oct 26, 2023
1 parent 086deea commit 427c35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ts/components/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 427c35c

Please sign in to comment.