Commit a2074bb5b4964aac9b002a0382265afb3eeff598

Authored by Marcelo Puebla
1 parent ae020369cd
Exists in master

Arreglo cuando se carga un producto al carrito.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/components/inicio/inicio.component.ts
... ... @@ -61,7 +61,7 @@ export class InicioComponent implements OnInit {
61 61 //Si no tiene promociones la cargará al carrito despues de un tiempo
62 62 setTimeout(() => {
63 63 this.productoService.productos.push(this.productoAcargar);
64   - this.productoAcargar = undefined;
  64 + this.productoAcargar = this.productoService.productoAcargar = undefined;
65 65 }, 2000)
66 66 } else {
67 67