diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-edit.ts b/client/src/app/+admin/users/user-edit/user-edit.ts index adce1b2d4..ee6d2c489 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.ts +++ b/client/src/app/+admin/users/user-edit/user-edit.ts | |||
@@ -7,7 +7,8 @@ import { UserAdminFlag } from '@shared/models/users/user-flag.model' | |||
7 | export abstract class UserEdit extends FormReactive { | 7 | export abstract class UserEdit extends FormReactive { |
8 | videoQuotaOptions: { value: string, label: string }[] = [] | 8 | videoQuotaOptions: { value: string, label: string }[] = [] |
9 | videoQuotaDailyOptions: { value: string, label: string }[] = [] | 9 | videoQuotaDailyOptions: { value: string, label: string }[] = [] |
10 | roles = Object.keys(USER_ROLE_LABELS).map(key => ({ value: key.toString(), label: USER_ROLE_LABELS[key] })) | 10 | roles = Object.keys(USER_ROLE_LABELS) |
11 | .map(key => ({ value: key.toString(), label: USER_ROLE_LABELS[key] })) | ||
11 | username: string | 12 | username: string |
12 | userId: number | 13 | userId: number |
13 | 14 | ||
@@ -27,7 +28,7 @@ export abstract class UserEdit extends FormReactive { | |||
27 | const transcodingConfig = this.serverService.getConfig().transcoding | 28 | const transcodingConfig = this.serverService.getConfig().transcoding |
28 | 29 | ||
29 | const resolutions = transcodingConfig.enabledResolutions | 30 | const resolutions = transcodingConfig.enabledResolutions |
30 | const higherResolution = VideoResolution.H_1080P | 31 | const higherResolution = VideoResolution.H_4K |
31 | let multiplier = 0 | 32 | let multiplier = 0 |
32 | 33 | ||
33 | for (const resolution of resolutions) { | 34 | for (const resolution of resolutions) { |