blob: 89ed21be83313028405b17d53ad2700805195132 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<cd-user-tabs></cd-user-tabs>
<cd-table [data]="users"
columnMode="flex"
[columns]="columns"
identifier="username"
selectionType="single"
(fetchData)="getUsers()"
(updateSelection)="updateSelection($event)">
<cd-table-actions class="table-actions"
[permission]="permission"
[selection]="selection"
[tableActions]="tableActions">
</cd-table-actions>
</cd-table>
<ng-template #userRolesTpl
let-value="value">
<span *ngFor="let role of value; last as isLast">
{{ role }}{{ !isLast ? ", " : "" }}
</span>
</ng-template>
|