Commit 8c203fc8f180e8474ef02e79100557ca1abe10eb

Authored by Marcelo Puebla
1 parent b96a90a4b3
Exists in master and in 1 other branch validar_pve

Cambio para limpiar el carrito.

src/app/components/sidebar/sidebar.component.ts
... ... @@ -96,7 +96,7 @@ export class SidebarComponent implements OnInit {
96 96  
97 97 cleanCarrito() {
98 98  
99   - this.productosCarrito = [];
  99 + this.productoService.productos = this.productosCarrito = [];
100 100 this.total = 0;
101 101 this.cont = 0;
102 102 }