This commit is contained in:
sdarbinyan
2026-06-18 18:32:36 +04:00
parent e7d8ec8c63
commit 3e79304e5c

View File

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