Bug fix that forced going into the quiz

This commit is contained in:
viveksantayana committed 2022-09-01 17:02:02 +01:00
1 parent a943cf8f96
commit 7844397517
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -23,9 +23,7 @@
}
},
mounted() {
if (this.answersStore.quizCurrent !== null) {
this.$router.push(`/quiz/question/${this.answersStore.quizCurrent}`)
} else {
if (this.answersStore.quizCurrent == null) {
this.answersStore.$reset()
}
this.resultsStore.$reset()
+1 -3
View File
@@ -17,9 +17,7 @@
}
},
mounted() {
if (this.answersStore.quizCurrent !== null) {
this.$router.push(`/quiz/question/${this.answersStore.quizCurrent}`)
} else {
if (this.answersStore.quizCurrent == null) {
this.answersStore.$reset()
}
this.resultsStore.$reset()