diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-16 14:32:15 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-16 14:32:15 +0200 |
commit | df98563e2104b82b119c00a3cd83cd0dc1242d25 (patch) | |
tree | a9720bf01bac9ad5646bd3d3c9bc7653617afdad /client/src/app/account/account.component.ts | |
parent | 46757b477c1adb5f98060d15998a3852e18902a6 (diff) | |
download | PeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.tar.gz PeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.tar.zst PeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.zip |
Use typescript standard and lint all files
Diffstat (limited to 'client/src/app/account/account.component.ts')
-rw-r--r-- | client/src/app/account/account.component.ts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/client/src/app/account/account.component.ts b/client/src/app/account/account.component.ts index 57b3d4ccd..929934f67 100644 --- a/client/src/app/account/account.component.ts +++ b/client/src/app/account/account.component.ts | |||
@@ -1,16 +1,16 @@ | |||
1 | import { Component, OnInit } from '@angular/core'; | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { FormBuilder, FormGroup } from '@angular/forms'; | 2 | import { FormBuilder, FormGroup } from '@angular/forms' |
3 | import { Router } from '@angular/router'; | 3 | import { Router } from '@angular/router' |
4 | 4 | ||
5 | import { NotificationsService } from 'angular2-notifications'; | 5 | import { NotificationsService } from 'angular2-notifications' |
6 | 6 | ||
7 | import { AuthService } from '../core'; | 7 | import { AuthService } from '../core' |
8 | import { | 8 | import { |
9 | FormReactive, | 9 | FormReactive, |
10 | User, | 10 | User, |
11 | UserService, | 11 | UserService, |
12 | USER_PASSWORD | 12 | USER_PASSWORD |
13 | } from '../shared'; | 13 | } from '../shared' |
14 | 14 | ||
15 | @Component({ | 15 | @Component({ |
16 | selector: 'my-account', | 16 | selector: 'my-account', |
@@ -18,11 +18,11 @@ import { | |||
18 | styleUrls: [ './account.component.scss' ] | 18 | styleUrls: [ './account.component.scss' ] |
19 | }) | 19 | }) |
20 | export class AccountComponent implements OnInit { | 20 | export class AccountComponent implements OnInit { |
21 | user: User = null; | 21 | user: User = null |
22 | 22 | ||
23 | constructor(private authService: AuthService) {} | 23 | constructor (private authService: AuthService) {} |
24 | 24 | ||
25 | ngOnInit() { | 25 | ngOnInit () { |
26 | this.user = this.authService.getUser(); | 26 | this.user = this.authService.getUser() |
27 | } | 27 | } |
28 | } | 28 | } |