cerrar el modal del editar justo despues de eliminar al colaboradora
This commit is contained in:
parent
c89e3bf1f9
commit
a4df983b4f
|
@ -671,6 +671,7 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
|
||||||
// unsubscribe not needed because closed completes on modal close
|
// unsubscribe not needed because closed completes on modal close
|
||||||
modalRef.closed.subscribe(reason => {
|
modalRef.closed.subscribe(reason => {
|
||||||
if (reason === 'deleted') {
|
if (reason === 'deleted') {
|
||||||
|
$('#btnCancelUbdateColaboradores').click();
|
||||||
this.loadAll();
|
this.loadAll();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue