Hide edit user button for super-admin
parent
a8817bf49a
commit
36f709f7c1
|
@ -23,7 +23,7 @@
|
|||
{{ 'Administration' | translate }}
|
||||
</button>
|
||||
|
||||
<button class="ordinary-button" (click)="editUser()"
|
||||
<button class="ordinary-button" (click)="editUser()" *ngIf="auth.userCategory !== 'super-admin'"
|
||||
matTooltip="Editar tu información de usuario" matTooltipShowDelay="1000">
|
||||
{{ 'changePassword' | translate }}
|
||||
</button>
|
||||
|
|
Loading…
Reference in New Issue