cerrar el modal del editar justo despues de eliminar al colaboradora

This commit is contained in:
Mariela Bonilla 2021-07-31 21:36:57 -06:00
parent c89e3bf1f9
commit a4df983b4f
1 changed files with 1 additions and 0 deletions

View File

@ -671,6 +671,7 @@ export class EncuestaUpdateComponent implements OnInit, AfterViewChecked {
// unsubscribe not needed because closed completes on modal close
modalRef.closed.subscribe(reason => {
if (reason === 'deleted') {
$('#btnCancelUbdateColaboradores').click();
this.loadAll();
}
});