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 } }