diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 72576ece8..6bd18d784 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -111,7 +111,7 @@ export default { this.form.date = '' this.id = null this.form.memo = '' - this.form.amount = '0' + this.form.amount = '' }, }, computed: { diff --git a/frontend/src/pages/Community.spec.js b/frontend/src/pages/Community.spec.js index bce29452c..05dbb3bdc 100644 --- a/frontend/src/pages/Community.spec.js +++ b/frontend/src/pages/Community.spec.js @@ -195,7 +195,7 @@ describe('Community', () => { expect(wrapper.vm.form.id).toBe(null) expect(wrapper.vm.form.date).toBe('') expect(wrapper.vm.form.memo).toBe('') - expect(wrapper.vm.form.amount).toBe('0') + expect(wrapper.vm.form.amount).toBe('') }) }) diff --git a/frontend/src/pages/Community.vue b/frontend/src/pages/Community.vue index e85f708c3..64aca6156 100644 --- a/frontend/src/pages/Community.vue +++ b/frontend/src/pages/Community.vue @@ -103,7 +103,7 @@ export default { id: null, date: '', memo: '', - amount: '0', + amount: '', }, updateAmount: '', }