Bug fix that forced going into the quiz
This commit is contained in:
parent
a943cf8f96
commit
7844397517
@ -23,9 +23,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.answersStore.quizCurrent !== null) {
|
if (this.answersStore.quizCurrent == null) {
|
||||||
this.$router.push(`/quiz/question/${this.answersStore.quizCurrent}`)
|
|
||||||
} else {
|
|
||||||
this.answersStore.$reset()
|
this.answersStore.$reset()
|
||||||
}
|
}
|
||||||
this.resultsStore.$reset()
|
this.resultsStore.$reset()
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.answersStore.quizCurrent !== null) {
|
if (this.answersStore.quizCurrent == null) {
|
||||||
this.$router.push(`/quiz/question/${this.answersStore.quizCurrent}`)
|
|
||||||
} else {
|
|
||||||
this.answersStore.$reset()
|
this.answersStore.$reset()
|
||||||
}
|
}
|
||||||
this.resultsStore.$reset()
|
this.resultsStore.$reset()
|
||||||
|
Loading…
Reference in New Issue
Block a user