Skip to content

Commit

Permalink
feat(MPI): No mostrar inactivos en las relaciones
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-bravo authored Jun 16, 2022
1 parent 1c23a30 commit 485c6b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class PacienteRelacionesComponent {
@Input()
set relaciones(value: IPacienteRelacion[]) {
this._relaciones = value.filter( rel => {
return(rel.hasOwnProperty('activo')) ?rel.activo : true;
return (rel.hasOwnProperty('activo')) ? rel.activo : true;
});
if (this._relaciones?.length) {
this.listado = this._relaciones as IPacienteRelacion[];
Expand Down

0 comments on commit 485c6b3

Please sign in to comment.