Bug fix that forced going into the quiz
This commit is contained in:
parent
a943cf8f96
commit
7844397517
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user