diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-26 14:46:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-26 14:50:39 +0200 |
commit | 3827c3b3488845f4235714e92eea439423df2909 (patch) | |
tree | 2254b6ab4745099730c384110665fb11c5e82f52 /client/src/app/+admin/users/user-edit/user-update.component.ts | |
parent | 4a216666e7f353e638c6927a9ff0c8fce4e94014 (diff) | |
download | PeerTube-3827c3b3488845f4235714e92eea439423df2909.tar.gz PeerTube-3827c3b3488845f4235714e92eea439423df2909.tar.zst PeerTube-3827c3b3488845f4235714e92eea439423df2909.zip |
Fix quota translations
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-update.component.ts')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-update.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-update.component.ts b/client/src/app/+admin/users/user-edit/user-update.component.ts index 5821229b3..9eb91ac95 100644 --- a/client/src/app/+admin/users/user-edit/user-update.component.ts +++ b/client/src/app/+admin/users/user-edit/user-update.component.ts | |||
@@ -5,10 +5,11 @@ import { NotificationsService } from 'angular2-notifications' | |||
5 | import { UserService } from '../shared' | 5 | import { UserService } from '../shared' |
6 | import { ServerService } from '../../../core' | 6 | import { ServerService } from '../../../core' |
7 | import { UserEdit } from './user-edit' | 7 | import { UserEdit } from './user-edit' |
8 | import { UserUpdate, User } from '../../../../../../shared' | 8 | import { User, UserUpdate } from '../../../../../../shared' |
9 | import { I18n } from '@ngx-translate/i18n-polyfill' | 9 | import { I18n } from '@ngx-translate/i18n-polyfill' |
10 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | 10 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' |
11 | import { UserValidatorsService } from '@app/shared/forms/form-validators/user-validators.service' | 11 | import { UserValidatorsService } from '@app/shared/forms/form-validators/user-validators.service' |
12 | import { ConfigService } from '@app/+admin/config/shared/config.service' | ||
12 | 13 | ||
13 | @Component({ | 14 | @Component({ |
14 | selector: 'my-user-update', | 15 | selector: 'my-user-update', |
@@ -25,6 +26,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
25 | constructor ( | 26 | constructor ( |
26 | protected formValidatorService: FormValidatorService, | 27 | protected formValidatorService: FormValidatorService, |
27 | protected serverService: ServerService, | 28 | protected serverService: ServerService, |
29 | protected configService: ConfigService, | ||
28 | private userValidatorsService: UserValidatorsService, | 30 | private userValidatorsService: UserValidatorsService, |
29 | private route: ActivatedRoute, | 31 | private route: ActivatedRoute, |
30 | private router: Router, | 32 | private router: Router, |
@@ -33,6 +35,8 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
33 | private i18n: I18n | 35 | private i18n: I18n |
34 | ) { | 36 | ) { |
35 | super() | 37 | super() |
38 | |||
39 | this.buildQuotaOptions() | ||
36 | } | 40 | } |
37 | 41 | ||
38 | ngOnInit () { | 42 | ngOnInit () { |