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 {