From 72a4cca65c43a75434b83d838d52adc4515c825a Mon Sep 17 00:00:00 2001 From: Stefan Popov Date: Thu, 6 May 2021 20:42:01 +0300 Subject: [PATCH] Release 1.1.1 (#246) --- package.json | 2 +- src/views/AddLiquidity.vue | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 72b0554fb..7d3edb523 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polkaswap-exchange-web", - "version": "1.1.0", + "version": "1.1.1", "license": "Apache-2.0", "private": true, "author": "jihoon@tutanota.de ", diff --git a/src/views/AddLiquidity.vue b/src/views/AddLiquidity.vue index ceca415df..c83bfed23 100644 --- a/src/views/AddLiquidity.vue +++ b/src/views/AddLiquidity.vue @@ -189,10 +189,6 @@ export default class AddLiquidity extends Mixins(TokenPairMixin) { @Action('updateAccountLiquidity', { namespace: 'pool' }) updateAccountLiquidity @Action('destroyUpdateAccountLiquiditySubscription', { namespace: 'pool' }) destroyUpdateAccountLiquiditySubscription - async mounted (): Promise { - await this.withApi(this.updateAccountLiquidity) - } - destroyed (): void { this.destroyUpdateAccountLiquiditySubscription() } @@ -242,6 +238,8 @@ export default class AddLiquidity extends Mixins(TokenPairMixin) { } async afterApiConnect (): Promise { + await this.updateAccountLiquidity() + if (this.firstAddress && this.secondAddress) { await this.setDataFromLiquidity({ firstAddress: this.firstAddress,