Fix conditions based on the initial question

This commit is contained in:
yflory 2021-09-01 11:36:47 +02:00
parent 69e10df9e0
commit 45d32f2294
1 changed files with 1 additions and 1 deletions

View File

@ -3871,7 +3871,7 @@ define([
return;
}
rules.forEach(function (obj) {
var idx = available.indexOf(obj.q);
var idx = available.indexOf(String(obj.q));
// If this question doesn't exist before the section, remove the condition
if (!obj.q || idx === -1) {
var cIdx = rules.indexOf(obj);