feat(console): delete user (#819)

* add action col to user table, i18n

* delete user from detail component

* lint
This commit is contained in:
Max Peintner
2020-10-07 17:15:02 +02:00
committed by GitHub
parent 56d5704749
commit 5f0cddac37
12 changed files with 141 additions and 25 deletions
@@ -12,7 +12,7 @@
<p class="sub">{{ 'USER.PAGES.DESCRIPTIONMACHINE' | translate }}</p>
<app-user-table [userType]="UserType.MACHINE"
[displayedColumns]="['select','name', 'username', 'description','state']"
[displayedColumns]="['select','name', 'username', 'description','state', 'actions']"
[disabled]="(['user.write'] | hasRole | async) == false">
</app-user-table>
</ng-container>