mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove onReset in created, add EMPTY_TRANSACTION_DATA in send function
This commit is contained in:
parent
d013bd9de1
commit
40c7f96b20
@ -184,7 +184,8 @@ export default {
|
||||
memo: this.form.memo,
|
||||
})
|
||||
},
|
||||
onReset() {
|
||||
onReset(event) {
|
||||
event.preventDefault()
|
||||
this.form.email = ''
|
||||
this.form.amount = ''
|
||||
this.form.memo = ''
|
||||
@ -212,7 +213,6 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.onReset()
|
||||
this.form.email = this.recipientEmail ? this.recipientEmail : ''
|
||||
},
|
||||
}
|
||||
|
||||
@ -148,6 +148,7 @@ export default {
|
||||
.then((result) => {
|
||||
this.$emit('set-tunneled-email', null)
|
||||
this.code = result.data.createTransactionLink.code
|
||||
this.transactionData = { ...EMPTY_TRANSACTION_DATA }
|
||||
this.currentTransactionStep = TRANSACTION_STEPS.transactionResultLink
|
||||
this.updateTransactions({})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user