Web: Added sequential request for information about quota and tariff.

This commit is contained in:
Tatiana Lopaeva 2023-04-13 10:36:42 +03:00
parent 8e171d2d17
commit 6a059746ba

View File

@ -76,11 +76,8 @@ class AuthStore {
updateTariff = async () => {
this.setIsUpdatingTariff(true);
await Promise.all([
this.currentQuotaStore.setPortalQuota(),
this.currentTariffStatusStore.setPortalTariff(),
]);
await this.currentQuotaStore.setPortalQuota();
await this.currentTariffStatusStore.setPortalTariff();
await this.currentTariffStatusStore.setPayerInfo();
this.setIsUpdatingTariff(false);