From 7af75da41ba32451c3e9564714b05b506bdd881d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Feb 2017 11:51:51 +0100 Subject: Client: fix lint --- client/src/app/+admin/friends/friend-list/friend-list.component.ts | 4 ++-- client/src/app/+admin/users/user-list/user-list.component.ts | 2 +- .../video-abuses/video-abuse-list/video-abuse-list.component.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/+admin') 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 { valuePrepareFunction: Utils.dateToHuman } } - } + }; constructor( private notificationsService: NotificationsService, @@ -56,7 +56,7 @@ export class FriendListComponent { } hasFriends() { - return this.friendsSource.count() != 0; + return this.friendsSource.count() !== 0; } 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 { valuePrepareFunction: Utils.dateToHuman } } - } + }; constructor( 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'; import { NotificationsService } from 'angular2-notifications'; -import { Utils, VideoAbuseService, VideoAbuse} from '../../../shared'; +import { Utils, VideoAbuseService, VideoAbuse } from '../../../shared'; @Component({ selector: 'my-video-abuse-list', @@ -55,7 +55,7 @@ export class VideoAbuseListComponent { valuePrepareFunction: Utils.dateToHuman } } - } + }; constructor( private notificationsService: NotificationsService, -- cgit v1.2.3