update-balance if link succesfully generated

This commit is contained in:
ogerly 2022-03-22 09:01:09 +01:00
parent 5d8fed9c31
commit 36b4c6cce7

View File

@ -143,6 +143,10 @@ export default {
.then((result) => { .then((result) => {
this.code = result.data.createTransactionLink.code this.code = result.data.createTransactionLink.code
this.currentTransactionStep = TRANSACTION_STEPS.transactionResultLink this.currentTransactionStep = TRANSACTION_STEPS.transactionResultLink
this.$emit(
'update-balance',
this.transactionData.amount + this.transactionData.amount * 0.028,
)
}) })
.catch((error) => { .catch((error) => {
this.toastError(error) this.toastError(error)