Set amount in Contribution form all over the place as '' and not '0'

This commit is contained in:
Wolfgang Huß 2022-07-26 09:39:33 +02:00
parent 6678c63e1b
commit a4947339dc
3 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ export default {
this.form.date = ''
this.id = null
this.form.memo = ''
this.form.amount = '0'
this.form.amount = ''
},
},
computed: {

View File

@ -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('')
})
})

View File

@ -103,7 +103,7 @@ export default {
id: null,
date: '',
memo: '',
amount: '0',
amount: '',
},
updateAmount: '',
}