Commit 4301149e16b1c0d8444e4316a856c8ea105685e0

Authored by Marcelo Puebla
1 parent 02a11ddacf
Exists in master and in 1 other branch validar_pve

Codigo identado.

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/app/components/inicio/inicio.component.ts
... ... @@ -12,7 +12,7 @@ import { Sinonimo } from 'src/app/wrappers/sinonimo';
12 12 styleUrls: ['./inicio.component.scss']
13 13 })
14 14 export class InicioComponent implements OnInit {
15   -
  15 +
16 16 private tienePromo = false;
17 17 private productoEsPromo = false;
18 18 private busqueda: string = '';
... ... @@ -77,7 +77,7 @@ export class InicioComponent implements OnInit {
77 77 }
78 78  
79 79 getProductos() {
80   -
  80 +
81 81 this.productoService.getAll()
82 82 .subscribe((productos: Producto[]) => {
83 83 this.productos = productos;
... ... @@ -127,7 +127,7 @@ export class InicioComponent implements OnInit {
127 127 if ($event.tieneSinonimos) {
128 128  
129 129 this.productoService.getProductoById($event.id)
130   - .subscribe((res : Producto) => {
  130 + .subscribe((res: Producto) => {
131 131  
132 132 $event.imagenes = res.imagenes;
133 133 this.promoAcargar = $event;