Commit c91a1487a63a1e26c61d8571de6e0314ac3935c9
1 parent
674d37c814
Exists in
master
Codigo identado
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/app/components/inicio/inicio.component.ts
... | ... | @@ -65,9 +65,9 @@ export class InicioComponent implements OnInit { |
65 | 65 | if (res.length === 0) { |
66 | 66 | //Si no tiene promociones la cargará al carrito despues de un tiempo |
67 | 67 | // setTimeout(() => { |
68 | - this.productoAcargar.cantidad = 1; | |
69 | - this.productoService.productos.push(this.productoAcargar); | |
70 | - this.productoAcargar = this.productoService.productoAcargar = undefined; | |
68 | + this.productoAcargar.cantidad = 1; | |
69 | + this.productoService.productos.push(this.productoAcargar); | |
70 | + this.productoAcargar = this.productoService.productoAcargar = undefined; | |
71 | 71 | // }, 2000) |
72 | 72 | } else { |
73 | 73 |