Valid question checking bug fix

This commit is contained in:
mrfry
2021-01-29 16:46:34 +01:00
parent e2922b1742
commit ce573a63ab
3 changed files with 3 additions and 3 deletions

View File

@@ -272,7 +272,7 @@ function isQuestionValid(question: Question) {
if (!question.Q) { if (!question.Q) {
return false return false
} }
if (!question.Q && question.data.type !== 'image') { if (!question.A && question.data.type === 'simple') {
return false return false
} }
return true return true