diff --git a/src/app/components/inicio/inicio.component.ts b/src/app/components/inicio/inicio.component.ts index b0fdb05..d840128 100644 --- a/src/app/components/inicio/inicio.component.ts +++ b/src/app/components/inicio/inicio.component.ts @@ -12,7 +12,7 @@ import { Sinonimo } from 'src/app/wrappers/sinonimo'; styleUrls: ['./inicio.component.scss'] }) export class InicioComponent implements OnInit { - + private tienePromo = false; private productoEsPromo = false; private busqueda: string = ''; @@ -77,7 +77,7 @@ export class InicioComponent implements OnInit { } getProductos() { - + this.productoService.getAll() .subscribe((productos: Producto[]) => { this.productos = productos; @@ -127,7 +127,7 @@ export class InicioComponent implements OnInit { if ($event.tieneSinonimos) { this.productoService.getProductoById($event.id) - .subscribe((res : Producto) => { + .subscribe((res: Producto) => { $event.imagenes = res.imagenes; this.promoAcargar = $event;