diff options
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 | 7 |
1 files changed, 5 insertions, 2 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 0966981c0..bd901e655 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 | |||
@@ -7,13 +7,15 @@ import { NotificationsService } from 'angular2-notifications' | |||
7 | 7 | ||
8 | import { UserService } from '../shared' | 8 | import { UserService } from '../shared' |
9 | import { USER_EMAIL, USER_VIDEO_QUOTA } from '../../../shared' | 9 | import { USER_EMAIL, USER_VIDEO_QUOTA } from '../../../shared' |
10 | import { ServerService } from '../../../core' | ||
10 | import { UserUpdate } from '../../../../../../shared/models/users/user-update.model' | 11 | import { UserUpdate } from '../../../../../../shared/models/users/user-update.model' |
11 | import { User } from '../../../shared/users/user.model' | 12 | import { User } from '../../../shared/users/user.model' |
12 | import { UserEdit } from './user-edit' | 13 | import { UserEdit } from './user-edit' |
13 | 14 | ||
14 | @Component({ | 15 | @Component({ |
15 | selector: 'my-user-update', | 16 | selector: 'my-user-update', |
16 | templateUrl: './user-edit.component.html' | 17 | templateUrl: './user-edit.component.html', |
18 | styleUrls: [ './user-edit.component.scss' ] | ||
17 | }) | 19 | }) |
18 | export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | 20 | export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { |
19 | error: string | 21 | error: string |
@@ -33,10 +35,11 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
33 | private paramsSub: Subscription | 35 | private paramsSub: Subscription |
34 | 36 | ||
35 | constructor ( | 37 | constructor ( |
36 | private formBuilder: FormBuilder, | 38 | protected serverService: ServerService, |
37 | private route: ActivatedRoute, | 39 | private route: ActivatedRoute, |
38 | private router: Router, | 40 | private router: Router, |
39 | private notificationsService: NotificationsService, | 41 | private notificationsService: NotificationsService, |
42 | private formBuilder: FormBuilder, | ||
40 | private userService: UserService | 43 | private userService: UserService |
41 | ) { | 44 | ) { |
42 | super() | 45 | super() |