mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add default properties to restore data when transaction is canceled in confirmation step
This commit is contained in:
parent
61bc5efb11
commit
0a3f80ddc9
@ -160,15 +160,18 @@ export default {
|
||||
},
|
||||
props: {
|
||||
balance: { type: Number, default: 0 },
|
||||
email: { type: String, default: '' },
|
||||
amount: { type: Number, default: 0 },
|
||||
memo: { type: String, default: '' },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
amountFocused: false,
|
||||
emailFocused: false,
|
||||
form: {
|
||||
email: '',
|
||||
amount: '',
|
||||
memo: '',
|
||||
email: this.email,
|
||||
amount: this.amount ? String(this.amount) : '',
|
||||
memo: this.memo,
|
||||
amountValue: 0.0,
|
||||
},
|
||||
selected: SEND_TYPES.send,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user