Add relation tab to user details.
This commit is contained in:
parent
a684b4a1dd
commit
41c86f3ba4
@ -32,6 +32,10 @@
|
||||
[entityName]="entity.name">
|
||||
</tb-attribute-table>
|
||||
</mat-tab>
|
||||
<mat-tab *ngIf="entity"
|
||||
label="{{ 'relation.relations' | translate }}" #relationsTab="matTab">
|
||||
<tb-relation-table [active]="relationsTab.isActive" [entityId]="entity.id"></tb-relation-table>
|
||||
</mat-tab>
|
||||
<mat-tab *ngIf="entity && authUser.authority === authorities.TENANT_ADMIN"
|
||||
label="{{ 'audit-log.audit-logs' | translate }}" #auditLogsTab="matTab">
|
||||
<tb-audit-log-table [active]="auditLogsTab.isActive" [auditLogMode]="auditLogModes.USER" [userId]="entity.id" detailsMode="true"></tb-audit-log-table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user