Skip to content

Commit

Permalink
Merge pull request #5570 from kiva/MP-898_monthly_good_numeral_fix
Browse files Browse the repository at this point in the history
fix: validation in monthly good setup form
  • Loading branch information
eddieferrer authored Oct 1, 2024
2 parents ad16434 + 82249d0 commit 74b621b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/MonthlyGood/MonthlyGoodSetupPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export default {
minValue: minValue(0),
maxValue: maxValue(10000),
maxTotal(value) {
return numeral(value) + numeral(this.mgAmount).value() < 10000;
return numeral(value).value() + numeral(this.mgAmount).value() < 10000;
}
},
dayOfMonth: {
Expand Down

0 comments on commit 74b621b

Please sign in to comment.