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) {
return false
}
if (!question.Q && question.data.type !== 'image') {
if (!question.A && question.data.type === 'simple') {
return false
}
return true