From c91a1487a63a1e26c61d8571de6e0314ac3935c9 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Thu, 22 Aug 2019 11:22:52 -0300 Subject: [PATCH] Codigo identado --- src/app/components/inicio/inicio.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 1.9.1