timer
This commit is contained in:
@@ -317,6 +317,9 @@ export class CartComponent implements OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private autoSubmitPurchase(): void {
|
private autoSubmitPurchase(): void {
|
||||||
|
setTimeout(() => {
|
||||||
|
const lang = this.langService.currentLanguage();
|
||||||
|
this.router.navigate([`/${lang}`]);}, 0);
|
||||||
const telegramUserId = this.getTelegramUserId();
|
const telegramUserId = this.getTelegramUserId();
|
||||||
|
|
||||||
// Telegram ID is mandatory
|
// Telegram ID is mandatory
|
||||||
@@ -361,8 +364,7 @@ export class CartComponent implements OnDestroy {
|
|||||||
});
|
});
|
||||||
this.paymentStatus.set(null);
|
this.paymentStatus.set(null);
|
||||||
|
|
||||||
const lang = this.langService.currentLanguage();
|
|
||||||
this.router.navigate([`/${lang}`]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
copyPaymentLink(): void {
|
copyPaymentLink(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user