Commit 086d324dc3aff3017b631689b056d056c7ffb8ba

Authored by Marcelo Puebla
1 parent de017db211
Exists in develop

Fix

Lint rules
src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.ts
... ... @@ -56,7 +56,7 @@ export class FiltroCategoriasComponent implements OnInit {
56 56 this.getProductos.emit() :
57 57 this.setProductos.emit();
58 58 });
59   - this.mediaPantalla();
  59 + this.mediaPantalla();
60 60 }
61 61  
62 62 selectCategoria(index: number, idCategoria?: number) {
src/app/shared/sinonimo/sinonimo.component.ts
... ... @@ -75,8 +75,8 @@ export class SinonimoComponent implements OnInit {
75 75 }
76 76  
77 77 scrollTo(index: number) {
78   - const element = document.getElementById(index.toString());
79   - element.scrollIntoView({ behavior: 'smooth', block: 'center' });
  78 + const el = document.getElementById(index.toString());
  79 + el.scrollIntoView({ behavior: 'smooth', block: 'center' });
80 80 }
81 81  
82 82 }