Commit 6effc0f5aef51861282f071fdfe6bed30c87b0a4
1 parent
add521cdc6
Exists in
develop
and in
1 other branch
Descomentado codigo
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
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 | } |