mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Valid question checking bug fix
This commit is contained in:
parent
e2922b1742
commit
ce573a63ab
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue