From a2074bb5b4964aac9b002a0382265afb3eeff598 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Tue, 20 Aug 2019 10:11:34 -0300 Subject: [PATCH] Arreglo cuando se carga un producto al carrito. --- src/app/components/inicio/inicio.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/inicio/inicio.component.ts b/src/app/components/inicio/inicio.component.ts index cc5f749..ccab297 100644 --- a/src/app/components/inicio/inicio.component.ts +++ b/src/app/components/inicio/inicio.component.ts @@ -61,7 +61,7 @@ export class InicioComponent implements OnInit { //Si no tiene promociones la cargará al carrito despues de un tiempo setTimeout(() => { this.productoService.productos.push(this.productoAcargar); - this.productoAcargar = undefined; + this.productoAcargar = this.productoService.productoAcargar = undefined; }, 2000) } else { -- 1.9.1