Fix conditions based on the initial question
This commit is contained in:
parent
69e10df9e0
commit
45d32f2294
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue