Skip to content

Commit

Permalink
fix review count display
Browse files Browse the repository at this point in the history
  • Loading branch information
szdytom committed Jul 2, 2024
1 parent 2af8c4b commit 7e733f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class RatingStore {

return {
progress: {
reviewCount: review.length,
reviewCount: review.length || fallback.length,
learnCount: learn.length,
},
next: getRandomElement(review)
Expand Down

0 comments on commit 7e733f2

Please sign in to comment.