diff --git a/frontend/src/views/social/VocabCourseView.vue b/frontend/src/views/social/VocabCourseView.vue index 5c7c6b4..798cc2c 100755 --- a/frontend/src/views/social/VocabCourseView.vue +++ b/frontend/src/views/social/VocabCourseView.vue @@ -458,7 +458,7 @@ export default { // A zero-card session is never a valid batch while the server still // reports due items. Otherwise the UI can incorrectly show "0 of 0" // even though there is a backlog to start today. - if (this.srsDailyQuota > 0 && Number.isFinite(Number(this.srsTodayRemaining))) { + if (Number(this.srsTodayQuota) > 0 && Number.isFinite(Number(this.srsTodayRemaining))) { return Math.max(0, Number(this.srsTodayRemaining)); } return Math.min(this.srsDueCount, this.srsDailyLimit);