Commit d0a168ff81de02735ab4930d30d4e3a9585b1b1b

Authored by Marcelo Puebla
1 parent 4ed1161b9d
Exists in develop

Fix

Cerrar modales
src/app/modules/seleccion-articulos/seleccion-articulos.component.ts
... ... @@ -46,7 +46,9 @@ export class SeleccionArticulosComponent implements OnInit, OnDestroy {
46 46 }
47 47  
48 48 ngOnDestroy() {
49   - if (this.modalRef) this.modalRef.hide();
  49 + for (let i = 1; i <= this.modalService.getModalsCount(); i++) {
  50 + this.modalService.hide(i);
  51 + }
50 52 }
51 53  
52 54 getCategorias() {