Skip to content

Commit

Permalink
MEL-484 Remove default to zero for empty string (beyondessential#3185)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorNadj authored Sep 16, 2021
1 parent 1c60352 commit feb133b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ export class ExpressionParser {
*/
setAll(variables = {}) {
Object.entries(variables).forEach(([name, value]) => {
const expressionValue = value || 0;
this.set(name, expressionValue);
this.set(name, value);
});
}

Expand Down

0 comments on commit feb133b

Please sign in to comment.