fix: show total lessons instead of next milestone in progress text
The progress text was showing "0 of 1" (next milestone) which was confusing. Now shows "0 of 101" (total lessons) while milestone dots show the milestone progression. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
@@ -320,10 +320,10 @@ function updateProgressDisplay() {
|
||||
// Update progress bar (now shows progress to next milestone)
|
||||
elements.progressFill.style.width = `${stats.progressToNext}%`;
|
||||
|
||||
// Update progress text
|
||||
// Update progress text - show completed of total lessons
|
||||
elements.progressText.textContent = t("progressTextMilestone", {
|
||||
completed: stats.totalCompleted,
|
||||
next: stats.nextMilestone
|
||||
total: stats.totalLessons
|
||||
});
|
||||
|
||||
// Update milestone indicators
|
||||
|
||||
Reference in New Issue
Block a user