Skip to content

Commit

Permalink
Merge pull request #3294 from BobHansen75/fix/conditional-array-setva…
Browse files Browse the repository at this point in the history
…lue-PAGE-3963

Fix/conditional array setvalue page 3963
  • Loading branch information
ingmar-stipriaan authored Dec 14, 2023
2 parents e994f02 + ed87432 commit 766123c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/conditional.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
return leftParsed !== rightParsed;
case 'contains':
return leftParsed !== '' && rightParsed !== ''
? leftParsed.indexOf(rightParsed) > -1
? leftParsed.toString().indexOf(rightParsed.toString()) > -1
: false;
case 'notcontains':
return leftParsed.indexOf(rightParsed) < 0;
return leftParsed.toString().indexOf(rightParsed.toString()) < 0;
case 'gt':
return leftParsed > rightParsed;
case 'lt':
Expand Down

0 comments on commit 766123c

Please sign in to comment.