Skip to content
Snippets Groups Projects
Commit 501d2948 authored by Quentin Bramas's avatar Quentin Bramas
Browse files

do not confirm answer 0 on startup new fix

parent 9a78f76b
Branches
Tags
No related merge requests found
Pipeline #347373 passed with stages
in 57 seconds
......@@ -379,7 +379,7 @@ const actions = {
stopPreview: () => ({ previewSlideId: -1 }),
setAnswer: (value) => (state, actions) => {
if (state.kind === 'OFFLINE') {
if (!state.started) {
if (!state.slides.length) {
return { answer: value }
}
let shuffledId = state.shuffledSlidesIndex[state.currentFreeSlideId];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment