Skip to content

Commit

Permalink
Merge pull request #12823 from LianaHarris360/latest-practice-quiz-score
Browse files Browse the repository at this point in the history
Resolve issue with user not seeing updated practice quiz score on TopicsContentPage
  • Loading branch information
LianaHarris360 authored Nov 13, 2024
2 parents 87418dd + 68ec7f1 commit 15d50f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function setContentNodeProgress(progress) {
// Avoid setting stale progress data - assume that progress increases monotonically
if (
!contentNodeProgressMap[progress.content_id] ||
progress.progress > contentNodeProgressMap[progress.content_id]
progress.progress >= contentNodeProgressMap[progress.content_id]
) {
set(contentNodeProgressMap, progress.content_id, progress.progress);
// this should have been conditional
Expand Down

0 comments on commit 15d50f9

Please sign in to comment.