|
|
|
@ -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> |
|
|
|
|