timer
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user