aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/users/user-edit/user-edit.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-11-15 09:24:56 +0100
committerChocobozzz <me@florianbigard.com>2018-11-15 09:25:32 +0100
commit2fbe7f1933f4bd5de96e6428234e56965616120e (patch)
tree7dfd9473d5984a35e35a8395d5da26d3a6c8858d /client/src/app/+admin/users/user-edit/user-edit.ts
parent79c2480f46ba5ffad6131ca599653d8b224b1c32 (diff)
downloadPeerTube-2fbe7f1933f4bd5de96e6428234e56965616120e.tar.gz
PeerTube-2fbe7f1933f4bd5de96e6428234e56965616120e.tar.zst
PeerTube-2fbe7f1933f4bd5de96e6428234e56965616120e.zip
Fix new Angular 7 issues
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-edit.ts')
-rw-r--r--client/src/app/+admin/users/user-edit/user-edit.ts2
1 files changed, 1 insertions, 1 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 99ce5804b..0b3511e8e 100644
--- a/client/src/app/+admin/users/user-edit/user-edit.ts
+++ b/client/src/app/+admin/users/user-edit/user-edit.ts
@@ -4,10 +4,10 @@ import { USER_ROLE_LABELS, VideoResolution } from '../../../../../../shared'
4import { ConfigService } from '@app/+admin/config/shared/config.service' 4import { ConfigService } from '@app/+admin/config/shared/config.service'
5 5
6export abstract class UserEdit extends FormReactive { 6export abstract class UserEdit extends FormReactive {
7
8 videoQuotaOptions: { value: string, label: string }[] = [] 7 videoQuotaOptions: { value: string, label: string }[] = []
9 videoQuotaDailyOptions: { value: string, label: string }[] = [] 8 videoQuotaDailyOptions: { value: string, label: string }[] = []
10 roles = Object.keys(USER_ROLE_LABELS).map(key => ({ value: key.toString(), label: USER_ROLE_LABELS[key] })) 9 roles = Object.keys(USER_ROLE_LABELS).map(key => ({ value: key.toString(), label: USER_ROLE_LABELS[key] }))
10 username: string
11 11
12 protected abstract serverService: ServerService 12 protected abstract serverService: ServerService
13 protected abstract configService: ConfigService 13 protected abstract configService: ConfigService