Commit 341379c1 authored by Christopher Mark Fullarton's avatar Christopher Mark Fullarton

Merge remote-tracking branch 'origin/master'

parents 9b82b943 0d2864c8
......@@ -461,7 +461,7 @@ export class QuizRouter extends AbstractRouter {
quiz.currentStartTimestamp = -1;
quiz.readingConfirmationRequested = false;
quiz.privateKey = privateKey;
quiz.state = QuizState.Active;
quiz.state = quiz.questionList.length > 0 ? QuizState.Active : QuizState.Inactive;
QuizDAO.convertLegacyQuiz(quiz);
const quizValidator = new QuizModel(quiz);
......
Markdown is supported
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