Seems to have solved some other issues

This commit is contained in:
Tiago Ribeiro
2023-07-27 15:41:34 +01:00
parent 77692d270e
commit d38ca76182
5 changed files with 17 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ export default function Reading({exam, showSolutions = false, onFinish}: Props)
return;
}
if (!userSolutions.map((x) => x.score.missing).every((x) => x === 0) && !hasExamEnded) {
if (!userSolutions.map((x) => x.score.missing).every((x) => x === 0) && !showSolutions && !hasExamEnded) {
setShowBlankModal(true);
return;
}