diff --git a/src/app/components/inicio/inicio.component.ts b/src/app/components/inicio/inicio.component.ts index 25b34c1..5882c6d 100644 --- a/src/app/components/inicio/inicio.component.ts +++ b/src/app/components/inicio/inicio.component.ts @@ -65,9 +65,9 @@ export class InicioComponent implements OnInit { if (res.length === 0) { //Si no tiene promociones la cargará al carrito despues de un tiempo // setTimeout(() => { - this.productoAcargar.cantidad = 1; - this.productoService.productos.push(this.productoAcargar); - this.productoAcargar = this.productoService.productoAcargar = undefined; + this.productoAcargar.cantidad = 1; + this.productoService.productos.push(this.productoAcargar); + this.productoAcargar = this.productoService.productoAcargar = undefined; // }, 2000) } else {