From ce9ea1f5808a92fae8d1a81b9e99a1abc7c060e1 Mon Sep 17 00:00:00 2001 From: FreezyEx Date: Thu, 13 Oct 2022 16:09:05 +0200 Subject: [PATCH] final fix --- components/withdraw/Withdraw.vue | 2 +- store/loading.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/withdraw/Withdraw.vue b/components/withdraw/Withdraw.vue index 874a03f..c59444c 100644 --- a/components/withdraw/Withdraw.vue +++ b/components/withdraw/Withdraw.vue @@ -341,7 +341,7 @@ export default { if (currency !== this.nativeCurrency) { this.$store.dispatch('application/setDefaultEthToReceive', { currency }) } - this.$store.dispatch('loading/updateProgress', { progress: 100 }) + this.$store.dispatch('loading/updateProgress', { progress: -1 }) this.depositsPast = Number(depositsPast) <= 0 ? 0 : depositsPast this.depositTxHash = txHash this.depositTimestamp = timestamp diff --git a/store/loading.js b/store/loading.js index d4039f0..e94748a 100644 --- a/store/loading.js +++ b/store/loading.js @@ -1,7 +1,7 @@ export const state = () => { return { message: '', - progress: '', + progress: -1, enabled: false, type: null } @@ -19,7 +19,7 @@ export const state = () => { DISABLE(state) { state.message = '' state.enabled = false - state.progress = '' + state.progress = -1 state.type = null } }