Commit 757dbe53ebd8a422e0a8e553f245ab7bb772d6f2

Authored by Marcelo Puebla
1 parent 6f920dbea4
Exists in develop

Fix

Lint errors
src/app/modules/pago-electronico/pago-electronico.component.ts
... ... @@ -40,7 +40,7 @@ export class PagoElectronicoComponent implements OnInit, OnDestroy {
40 40 });
41 41 this.mediaPantalla();
42 42 }
43   -
  43 +
44 44 ngOnDestroy() {
45 45 for (let i = 1; i <= this.modalService.getModalsCount(); i++) {
46 46 this.modalService.hide(i);
src/app/shared/header-publicidad/header-publicidad.component.ts
... ... @@ -85,9 +85,9 @@ export class HeaderPublicidadComponent implements OnInit {
85 85 ignoreBackdropClick: true,
86 86 class: 'modal-dialog-centered'
87 87 });
88   - this.modalRef.content.onClose.subscribe((res) => {
  88 + this.modalRef.content.onClose.subscribe((resClose) => {
89 89 this.modalRef = null;
90   - if (!res) return;
  90 + if (!resClose) return;
91 91 this.sinonimoService.getSinonimos(articulo.CodSec, articulo.CodArt)
92 92 .subscribe((res: ISinonimo[]) => {
93 93 if (res.length) {