From 36b4c6cce7f599cad8d33e18fb2b1643f9cbf7b3 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 22 Mar 2022 09:01:09 +0100 Subject: [PATCH] update-balance if link succesfully generated --- frontend/src/pages/Send.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/pages/Send.vue b/frontend/src/pages/Send.vue index 89eb1bbe2..bce9a6069 100644 --- a/frontend/src/pages/Send.vue +++ b/frontend/src/pages/Send.vue @@ -143,6 +143,10 @@ export default { .then((result) => { this.code = result.data.createTransactionLink.code this.currentTransactionStep = TRANSACTION_STEPS.transactionResultLink + this.$emit( + 'update-balance', + this.transactionData.amount + this.transactionData.amount * 0.028, + ) }) .catch((error) => { this.toastError(error)