diff --git a/js/components/forms/funding.js b/js/components/forms/funding.js index 64b2263b..73d7c077 100644 --- a/js/components/forms/funding.js +++ b/js/components/forms/funding.js @@ -40,7 +40,7 @@ export default { totalBudget: function () { return [this.clin_01, this.clin_02, this.clin_03, this.clin_04].reduce( function(acc, curr) { - curr = curr === null ? 0 : parseInt(curr) + curr = !curr ? 0 : parseInt(curr) return acc + curr; }, 0 )