Merged in refactor-getserverprops (pull request #143)

Fix Finish page with scores in exams

Approved-by: Tiago Ribeiro
This commit is contained in:
Francisco Lima
2025-01-31 22:40:29 +00:00
committed by Tiago Ribeiro

View File

@@ -279,7 +279,7 @@ export default function ExamPage({
}; };
userSolutions.forEach((x) => { userSolutions.forEach((x) => {
if (x.isPractice === isPractice) { if (isPractice ? x.isPractice : !x.isPractice) {
const examModule = const examModule =
x.module || x.module ||
(x.type === "writing" (x.type === "writing"