From 013ddbc57f309def28f15ca104ae5ae38f32584f Mon Sep 17 00:00:00 2001 From: Vitalii Date: Fri, 29 Sep 2023 15:18:48 +0300 Subject: [PATCH] web/satellite: fixed balance inconsistency for billing tabs Made overview tab always fetch account balance on mount. Made payment methods tab always fetch wallet (which includes wallet balance) on mount. Account and Wallet balances are queried from transactionsDB so there is no inconsistency on backend side. Issue: https://github.com/storj/storj/issues/6093 Change-Id: Ifb63d20040acf03d60ad08eac51b0f20b5b7365d --- .../account/billing/BillingArea.vue | 21 ++----------------- .../account/billing/billingTabs/Overview.vue | 5 ++++- .../billing/billingTabs/PaymentMethods.vue | 16 +++++++++++++- .../paymentMethods/AddTokenCardNative.vue | 21 +++++-------------- 4 files changed, 26 insertions(+), 37 deletions(-) diff --git a/web/satellite/src/components/account/billing/BillingArea.vue b/web/satellite/src/components/account/billing/BillingArea.vue index 9c53c0459..51d5477a3 100644 --- a/web/satellite/src/components/account/billing/BillingArea.vue +++ b/web/satellite/src/components/account/billing/BillingArea.vue @@ -40,21 +40,19 @@