Browse Source

Add relation tab to user details.

pull/6980/head
devaskim 4 years ago
parent
commit
41c86f3ba4
  1. 4
      ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html

4
ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html

@ -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…
Cancel
Save