Commit 6effc0f5aef51861282f071fdfe6bed30c87b0a4

Authored by Marcelo Puebla
1 parent add521cdc6

Descomentado codigo

src/app/modules/pago-electronico/pago-electronico.component.ts
... ... @@ -17,10 +17,10 @@ export class PagoElectronicoComponent implements OnInit {
17 17 ) { }
18 18  
19 19 ngOnInit() {
20   - // if (!this.articuloService.carrito.length) {
21   - // this.router.navigate(['']);
22   - // return;
23   - // }
  20 + if (!this.articuloService.carrito.length) {
  21 + this.router.navigate(['']);
  22 + return;
  23 + }
24 24 let dataPago = {
25 25 pedidoAnombreDe: ''
26 26 }