dev #14384 Правка ошибок отображения WPA КофеЛайк: fix last purchase

This commit is contained in:
nikolay 2023-06-26 10:40:10 +04:00
parent 8ea4a41786
commit 9e7394e848
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,6 @@ export class GuestCardComponent implements OnInit {
this.negativeBalance = !Array.isArray(this.authService.userInfo?.walletBalances);
this.showBack = getTypeDevice() === DeviceType.android;
this.authService.getLastPurchase();
this.requestPermission();
}

View File

@ -87,8 +87,10 @@ export class AuthService {
});
} else if (value && value.customer_info) {
this.userInfo = value.customer_info;
this.cookiesService.setCookie('phone-number', this.userInfo!.phone?.slice(2));
this.getLastPurchase();
}
},
error: (e) => {