Skip to content

Commit

Permalink
#16
Browse files Browse the repository at this point in the history
  • Loading branch information
mavarazy committed Nov 10, 2017
1 parent 0855e59 commit c271482
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/conditionsMeet.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default function conditionsMeet(condition, formData) {
let condMeatOnce = refVal.some(val =>
conditionsMeet(refCondition, val)
);
// It's either true for an element in an array or for the whole array
return (
condMeatOnce ||
checkField(refVal, toRelCondition(refCondition, formData))
Expand Down

0 comments on commit c271482

Please sign in to comment.