Skip to content

Commit

Permalink
Revert "[#48] fix: bookmark info not displayed correctly"
Browse files Browse the repository at this point in the history
This reverts commit f33ab62.
  • Loading branch information
junglesub committed Feb 3, 2022
1 parent 3f2929d commit e9e65b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/models/Lecture.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export default class Lecture {
this.grading = raw.grading;
this.pfPossible = raw.pfPossible;
this.crawledAt = raw.crawledAt;
this.isBookmarked = raw.isBookmarked || isIn(raw, bookmarks, 'id');
this.isSpike = raw.isSpike || isIn(raw, spikes, 'id');
this.isBookmarked = isIn(raw, bookmarks, 'id');
this.isSpike = isIn(raw, spikes, 'id');
this.isAdded = false;
this.count = raw.count;
}
Expand Down

0 comments on commit e9e65b6

Please sign in to comment.