Commit 0f818e5c28e45cae6d867cef646e773370cb8bf0
Exists in
develop
Merge branch 'develop' into 'develop'
Develop See merge request !111
Showing
2 changed files
Show diff stats
src/app/services/articulo/articulo.service.ts
src/app/shared/cancelar-compra/cancelar-compra.component.ts
| ... | ... | @@ -32,8 +32,7 @@ export class CancelarCompraComponent implements OnInit, OnDestroy { |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | limpiarCarritoYvolver() { |
| 35 | - this.articuloService.carrito = []; | |
| 36 | - this.articuloService.calcularTotal(); | |
| 35 | + this.articuloService.cleanShoppingCar(); | |
| 37 | 36 | this.router.navigate(['/']); |
| 38 | 37 | } |
| 39 | 38 | } |