aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/users')
-rw-r--r--shared/models/users/user-role.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/users/user-role.ts b/shared/models/users/user-role.ts
index 0e75444f8..271c9a46f 100644
--- a/shared/models/users/user-role.ts
+++ b/shared/models/users/user-role.ts
@@ -7,7 +7,8 @@ export enum UserRole {
7 USER = 2 7 USER = 2
8} 8}
9 9
10export const USER_ROLE_LABELS = { 10// TODO: use UserRole for key once https://github.com/Microsoft/TypeScript/issues/13042 is fixed
11export const USER_ROLE_LABELS: { [ id: number ]: string } = {
11 [UserRole.USER]: 'User', 12 [UserRole.USER]: 'User',
12 [UserRole.MODERATOR]: 'Moderator', 13 [UserRole.MODERATOR]: 'Moderator',
13 [UserRole.ADMINISTRATOR]: 'Administrator' 14 [UserRole.ADMINISTRATOR]: 'Administrator'