mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Reduce comment to a minimal
This commit is contained in:
parent
774e8e1f2f
commit
df0f3e21b6
@ -108,10 +108,7 @@ export default {
|
||||
},
|
||||
submit() {
|
||||
this.form.amount = this.numberFormat(this.form.amount)
|
||||
// not working for testing:
|
||||
// this.$emit(this.form.id ? 'update-contribution' : 'set-contribution', this.form)
|
||||
// works for testing:
|
||||
// why ever, we have to make a spread '...', to evaluate the values it looks like: (I didn't find a solution in the test itmself)
|
||||
// spreading is needed for testing
|
||||
this.$emit(this.form.id ? 'update-contribution' : 'set-contribution', { ...this.form })
|
||||
this.reset()
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user