Skip to content
Snippets Groups Projects
Commit dae48c1b authored by Milan Jaros's avatar Milan Jaros
Browse files

f

parent 1b5708e6
No related branches found
No related tags found
1 merge request!1Ncc v2.2.4
......@@ -249,10 +249,10 @@ export default {
const qi = parseInt(qTextSplit2[0])
const ai = parseInt(qTextSplit2[1])
if (this.answers[qi].length == 0) {
if (this.answers[qi].length === 0) {
this.question_index = this.question_index - 1
showSuccess(t('forms', 'Answer is required'))
return
return
}
const answers = this.answers[qi].filter(answer => answer === ai)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment