mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Set amount in Contribution form all over the place as '' and not '0'
This commit is contained in:
parent
6678c63e1b
commit
a4947339dc
@ -111,7 +111,7 @@ export default {
|
||||
this.form.date = ''
|
||||
this.id = null
|
||||
this.form.memo = ''
|
||||
this.form.amount = '0'
|
||||
this.form.amount = ''
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
||||
@ -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('')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@ -103,7 +103,7 @@ export default {
|
||||
id: null,
|
||||
date: '',
|
||||
memo: '',
|
||||
amount: '0',
|
||||
amount: '',
|
||||
},
|
||||
updateAmount: '',
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user