Hotfix null

This commit is contained in:
2025-09-12 14:48:42 +02:00
parent e6f16ca8cd
commit bb78d7f5af

View File

@@ -267,7 +267,7 @@
} }
finishQuestion(): void { finishQuestion(): void {
if (this.visitedQuestions[this.currentCategory] === undefined) { if (this.visitedQuestions[this.currentCategory] == undefined) {
this.visitedQuestions[this.currentCategory] = [this.currentQuestion]; this.visitedQuestions[this.currentCategory] = [this.currentQuestion];
} else if ( } else if (
!this.visitedQuestions[this.currentCategory].includes(this.currentQuestion) !this.visitedQuestions[this.currentCategory].includes(this.currentQuestion)