dev #14384 Правка ошибок отображения WPA КофеЛайк: fix last purchase
This commit is contained in:
parent
8ea4a41786
commit
9e7394e848
@ -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();
|
||||
}
|
||||
|
||||
|
||||
@ -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) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user