diff options
Diffstat (limited to 'client/src/app/+admin/users/user-list/user-list.component.ts')
-rw-r--r-- | client/src/app/+admin/users/user-list/user-list.component.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index 8f01c7d51..e167d1432 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts | |||
@@ -87,6 +87,12 @@ export class UserListComponent extends RestTable implements OnInit { | |||
87 | return 'UserListComponent' | 87 | return 'UserListComponent' |
88 | } | 88 | } |
89 | 89 | ||
90 | getRowClasses (rowData: User) { | ||
91 | return { | ||
92 | banned: rowData.blocked | ||
93 | } | ||
94 | } | ||
95 | |||
90 | openBanUserModal (users: User[]) { | 96 | openBanUserModal (users: User[]) { |
91 | for (const user of users) { | 97 | for (const user of users) { |
92 | if (user.username === 'root') { | 98 | if (user.username === 'root') { |