Web: Added sequential request for information about quota and tariff.
This commit is contained in:
parent
8e171d2d17
commit
6a059746ba
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user