diff --git a/src/app/modules/pago-electronico/pago-electronico.component.ts b/src/app/modules/pago-electronico/pago-electronico.component.ts index 95bbc5c..dac18ac 100644 --- a/src/app/modules/pago-electronico/pago-electronico.component.ts +++ b/src/app/modules/pago-electronico/pago-electronico.component.ts @@ -17,10 +17,10 @@ export class PagoElectronicoComponent implements OnInit { ) { } ngOnInit() { - // if (!this.articuloService.carrito.length) { - // this.router.navigate(['']); - // return; - // } + if (!this.articuloService.carrito.length) { + this.router.navigate(['']); + return; + } let dataPago = { pedidoAnombreDe: '' }