GitLab wurde aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Vielen Dank für Ihre Geduld.

Commit 7bd96109 authored by Christopher Fullarton's avatar Christopher Fullarton
Browse files

Merge remote-tracking branch 'origin/staging' into staging

parents f3e8aaad e202b7fc
......@@ -93,7 +93,8 @@ export class QuizRouter extends AbstractRouter {
return false;
}
return Leaderboard.getAnswerStateForResponse(attendee.responses[index].value, value) !== AnswerState.Correct;
const leaderboardResult = Leaderboard.getAnswerStateForResponse(attendee.responses[index].value, value);
return value.TYPE === QuestionType.RangedQuestion ? leaderboardResult === AnswerState.Wrong : leaderboardResult !== AnswerState.Correct;
});
return !canNotUseToken;
}
......
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