Updated the Exercise count for the Interactive Speaking as well

This commit is contained in:
Tiago Ribeiro
2023-11-21 09:35:54 +00:00
parent d0f89cfe01
commit 51e7c535df
7 changed files with 64 additions and 17 deletions

View File

@@ -83,7 +83,7 @@ export default function Level({exam, showSolutions = false, onFinish}: Props) {
<div className="flex flex-col h-full w-full gap-8 items-center">
<ModuleTitle
minTimer={exam.minTimer}
exerciseIndex={exerciseIndex + (exerciseIndex === -1 ? 0 : 1) + questionIndex + currentQuestionIndex}
exerciseIndex={exerciseIndex + 1 + questionIndex + currentQuestionIndex}
module="level"
totalExercises={countExercises(exam.exercises)}
disableTimer={showSolutions}