Commit 001d1450d6c61f1e2a834eefafe8d231273fbc4b
1 parent
6215ca50b4
Exists in
develop
solving lint
Showing
5 changed files
with
3 additions
and
7 deletions
Show diff stats
src/app/modules/carrito/carrito.component.ts
... | ... | @@ -30,8 +30,6 @@ export class CarritoComponent implements OnInit, OnDestroy { |
30 | 30 | this.router.navigate(['']); |
31 | 31 | return; |
32 | 32 | } |
33 | - // console.log('COMPONENTE INICIADO'); | |
34 | - | |
35 | 33 | this.mediaPantalla(); |
36 | 34 | } |
37 | 35 | |
... | ... | @@ -63,6 +61,5 @@ export class CarritoComponent implements OnInit, OnDestroy { |
63 | 61 | if ($('body').hasClass('media-pantalla')) { |
64 | 62 | $(`.carrito-content`).addClass('media-pantalla').addBack('media-pantalla'); |
65 | 63 | } |
66 | - console.log('AGARRA CONIOO'); | |
67 | 64 | } |
68 | 65 | } |
src/app/modules/pago-electronico/pago-electronico.component.ts
... | ... | @@ -30,7 +30,7 @@ export class PagoElectronicoComponent implements OnInit { |
30 | 30 | this.articuloService.idComanda = res.data; |
31 | 31 | this.router.navigate(['mensaje-final']); |
32 | 32 | }, err => console.error(err)); |
33 | - this.mediaPantalla(); | |
33 | + this.mediaPantalla(); | |
34 | 34 | } |
35 | 35 | mediaPantalla() { |
36 | 36 | if ($('body').hasClass('media-pantalla')) { |
src/app/modules/seleccion-articulos/seleccion-articulos.component.ts
src/app/shared/promocion/promocion.component.ts
... | ... | @@ -58,7 +58,6 @@ export class PromocionComponent implements OnInit { |
58 | 58 | } |
59 | 59 | |
60 | 60 | openModalSinonimos(sinonimosData: ISinonimo[], articulo: IArticulo) { |
61 | - console.log('lanzado open sinonimos'); | |
62 | 61 | const modalSinonimo = this.modalService.show(SinonimoComponent, { |
63 | 62 | initialState: { sinonimos: sinonimosData }, |
64 | 63 | class: 'modal-promo modal-dialog-centered' |
src/app/shared/sinonimo/sinonimo.component.ts
... | ... | @@ -76,7 +76,7 @@ export class SinonimoComponent implements OnInit { |
76 | 76 | |
77 | 77 | scrollTo(index: number) { |
78 | 78 | const element = document.getElementById(index.toString()); |
79 | - element.scrollIntoView({ behavior: "smooth", block: "center" }); | |
79 | + element.scrollIntoView({ behavior: 'smooth', block: 'center' }); | |
80 | 80 | } |
81 | 81 | |
82 | 82 | } |