diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-01 11:08:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-01 11:08:29 +0100 |
commit | ba75d268596bc7b289bacf1cc4cb53493d6ad444 (patch) | |
tree | f631ed9a871ce078cd94afb0b4fcfc1e356944ec /shared | |
parent | 09c93c2031ce4d7dee15f247b194f21346c7e615 (diff) | |
download | PeerTube-ba75d268596bc7b289bacf1cc4cb53493d6ad444.tar.gz PeerTube-ba75d268596bc7b289bacf1cc4cb53493d6ad444.tar.zst PeerTube-ba75d268596bc7b289bacf1cc4cb53493d6ad444.zip |
Send an email on video abuse report
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/users/user-role.ts | 3 |
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 | ||
10 | export const USER_ROLE_LABELS = { | 10 | // TODO: use UserRole for key once https://github.com/Microsoft/TypeScript/issues/13042 is fixed |
11 | export 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' |