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.negativeBalance = !Array.isArray(this.authService.userInfo?.walletBalances);
this.showBack = getTypeDevice() === DeviceType.android; this.showBack = getTypeDevice() === DeviceType.android;
this.authService.getLastPurchase();
this.requestPermission(); this.requestPermission();
} }

View File

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