Revert change to remove short-circuit logic

This commit is contained in:
Andrew Henry 2025-01-29 13:46:55 -08:00
parent c460932c81
commit e6952f1859

View File

@ -421,8 +421,10 @@ export default class ConditionManager extends EventEmitter {
updateConditionResults(normalizedDatum) {
//We want to stop when the first condition evaluates to true.
this.conditions.forEach((condition) => {
this.conditions.some((condition) => {
condition.updateResult(normalizedDatum);
return condition.result === true;
});
}