Browse Source

Merge pull request #6980 from devaskim/user_details_relation_tab

[3.4.1] UI: Add relation tab to user details.
pull/7084/head
Igor Kulikov 4 years ago
committed by GitHub
parent
commit
52c000d3f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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