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: {
|
props: {
|
||||||
balance: { type: Number, default: 0 },
|
balance: { type: Number, default: 0 },
|
||||||
|
email: { type: String, default: '' },
|
||||||
|
amount: { type: Number, default: 0 },
|
||||||
|
memo: { type: String, default: '' },
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
amountFocused: false,
|
amountFocused: false,
|
||||||
emailFocused: false,
|
emailFocused: false,
|
||||||
form: {
|
form: {
|
||||||
email: '',
|
email: this.email,
|
||||||
amount: '',
|
amount: this.amount ? String(this.amount) : '',
|
||||||
memo: '',
|
memo: this.memo,
|
||||||
amountValue: 0.0,
|
amountValue: 0.0,
|
||||||
},
|
},
|
||||||
selected: SEND_TYPES.send,
|
selected: SEND_TYPES.send,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user