Update ContributionForm.vue

This commit is contained in:
Alexander Friedland 2022-08-08 15:24:50 +02:00 committed by GitHub
parent dbbec33f73
commit adef450bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ export default {
},
methods: {
numberFormat(value) {
return (this.form.amount = value.replace(/\.|,/, ''))
return (this.form.amount = value.replace(/\.|,, ''))
},
submit() {
this.numberFormat(this.form.amount)