From d15c540268df3886e99002b0bb6bc96b7cb0726d Mon Sep 17 00:00:00 2001 From: Emre Kanatli Date: Sun, 10 Jan 2021 15:36:20 -0500 Subject: [PATCH] fix stuck start again button bug on Send page --- src/views/wallet/Transfer.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/wallet/Transfer.vue b/src/views/wallet/Transfer.vue index 2fbf993f8..bc222fd27 100644 --- a/src/views/wallet/Transfer.vue +++ b/src/views/wallet/Transfer.vue @@ -305,11 +305,10 @@ export default class Transfer extends Vue { }) // Update the user's balance - // setTimeout(() => { - await this.$store.dispatch('Assets/updateUTXOs') - await this.$store.dispatch('History/updateTransactionHistory') - this.updateSendAgainLock() - // }, 3000) + this.$store.dispatch('Assets/updateUTXOs').then(() => { + this.updateSendAgainLock() + }) + this.$store.dispatch('History/updateTransactionHistory') } updateSendAgainLock() {