In the database I saved an integer to represent the user type. The integer can receive 1, 2, 3, 4, 5, 6 or 7.
When I show the type of user on the screen, I would have to do several * ngIf to show the value in the html component.
<td *ngIf="user.profile == 1"> Administrador </td>
<td *ngIf="user.profile == 2"> Avaliador </td>
<td *ngIf="user.profile == 3"> Responsável </td>
E outros 4 *ngIf para validar o restante...
So as not to need to do these * ngIf, would it have a better way? I did not want to put 7 validations just to show a result in the html component.