Fix toggling between modes
This commit is contained in:
parent
2c9ebb9545
commit
78cdb95e19
1 changed files with 9 additions and 0 deletions
|
@ -79,6 +79,15 @@
|
|||
allQuestionsToAsk.setData(qta)
|
||||
}))
|
||||
|
||||
onDestroy(showAllQuestionsAtOnce.addCallback(_ => {
|
||||
let qta = questionsToAsk.data
|
||||
firstQuestion.setData(undefined)
|
||||
firstQuestion.setData(qta[0])
|
||||
|
||||
allQuestionsToAsk.setData([])
|
||||
allQuestionsToAsk.setData(qta)
|
||||
}))
|
||||
|
||||
|
||||
|
||||
let answered: number = 0
|
||||
|
|
Loading…
Reference in a new issue