diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-02-10 11:51:51 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-02-10 11:52:45 +0100 |
commit | 7af75da41ba32451c3e9564714b05b506bdd881d (patch) | |
tree | 9f308d082acb8cbd045c3e378751a52d69f37c8c /client/src/app/+admin | |
parent | f6f7dfee01e8b7ddf62d2549b8f381d0b12b590e (diff) | |
download | PeerTube-7af75da41ba32451c3e9564714b05b506bdd881d.tar.gz PeerTube-7af75da41ba32451c3e9564714b05b506bdd881d.tar.zst PeerTube-7af75da41ba32451c3e9564714b05b506bdd881d.zip |
Client: fix lint
Diffstat (limited to 'client/src/app/+admin')
3 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/+admin/friends/friend-list/friend-list.component.ts b/client/src/app/+admin/friends/friend-list/friend-list.component.ts index f29427640..9783adf16 100644 --- a/client/src/app/+admin/friends/friend-list/friend-list.component.ts +++ b/client/src/app/+admin/friends/friend-list/friend-list.component.ts | |||
@@ -45,7 +45,7 @@ export class FriendListComponent { | |||
45 | valuePrepareFunction: Utils.dateToHuman | 45 | valuePrepareFunction: Utils.dateToHuman |
46 | } | 46 | } |
47 | } | 47 | } |
48 | } | 48 | }; |
49 | 49 | ||
50 | constructor( | 50 | constructor( |
51 | private notificationsService: NotificationsService, | 51 | private notificationsService: NotificationsService, |
@@ -56,7 +56,7 @@ export class FriendListComponent { | |||
56 | } | 56 | } |
57 | 57 | ||
58 | hasFriends() { | 58 | hasFriends() { |
59 | return this.friendsSource.count() != 0; | 59 | return this.friendsSource.count() !== 0; |
60 | } | 60 | } |
61 | 61 | ||
62 | quitFriends() { | 62 | quitFriends() { |
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index db025d3a8..c27b96e28 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts | |||
@@ -49,7 +49,7 @@ export class UserListComponent { | |||
49 | valuePrepareFunction: Utils.dateToHuman | 49 | valuePrepareFunction: Utils.dateToHuman |
50 | } | 50 | } |
51 | } | 51 | } |
52 | } | 52 | }; |
53 | 53 | ||
54 | constructor( | 54 | constructor( |
55 | private notificationsService: NotificationsService, | 55 | private notificationsService: NotificationsService, |
diff --git a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts index 2f22a4ab0..f59c4fffb 100644 --- a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts +++ b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts | |||
@@ -2,7 +2,7 @@ import { Component } from '@angular/core'; | |||
2 | 2 | ||
3 | import { NotificationsService } from 'angular2-notifications'; | 3 | import { NotificationsService } from 'angular2-notifications'; |
4 | 4 | ||
5 | import { Utils, VideoAbuseService, VideoAbuse} from '../../../shared'; | 5 | import { Utils, VideoAbuseService, VideoAbuse } from '../../../shared'; |
6 | 6 | ||
7 | @Component({ | 7 | @Component({ |
8 | selector: 'my-video-abuse-list', | 8 | selector: 'my-video-abuse-list', |
@@ -55,7 +55,7 @@ export class VideoAbuseListComponent { | |||
55 | valuePrepareFunction: Utils.dateToHuman | 55 | valuePrepareFunction: Utils.dateToHuman |
56 | } | 56 | } |
57 | } | 57 | } |
58 | } | 58 | }; |
59 | 59 | ||
60 | constructor( | 60 | constructor( |
61 | private notificationsService: NotificationsService, | 61 | private notificationsService: NotificationsService, |