diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-12 14:41:59 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-12 14:41:59 +0100 |
commit | b2731bff2834fb6aacf166cf435030bf96eb12f3 (patch) | |
tree | a519c0669ffc27712fffebc5750df54952a61100 /client/src/app/videos/video-list | |
parent | 4a7eeb62f1364678fff28fef4a83a0e9b640017c (diff) | |
download | PeerTube-b2731bff2834fb6aacf166cf435030bf96eb12f3.tar.gz PeerTube-b2731bff2834fb6aacf166cf435030bf96eb12f3.tar.zst PeerTube-b2731bff2834fb6aacf166cf435030bf96eb12f3.zip |
Small style fixes
Diffstat (limited to 'client/src/app/videos/video-list')
3 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/videos/video-list/video-recently-added.component.ts b/client/src/app/videos/video-list/video-recently-added.component.ts index 6168fac95..3020b8c30 100644 --- a/client/src/app/videos/video-list/video-recently-added.component.ts +++ b/client/src/app/videos/video-list/video-recently-added.component.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { ActivatedRoute, Router } from '@angular/router' | 2 | import { ActivatedRoute, Router } from '@angular/router' |
3 | import { NotificationsService } from 'angular2-notifications' | 3 | import { NotificationsService } from 'angular2-notifications' |
4 | import { AuthService } from '../../core/auth' | ||
4 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | 5 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' |
5 | import { SortField } from '../../shared/video/sort-field.type' | 6 | import { SortField } from '../../shared/video/sort-field.type' |
6 | import { VideoService } from '../../shared/video/video.service' | 7 | import { VideoService } from '../../shared/video/video.service' |
@@ -18,6 +19,7 @@ export class VideoRecentlyAddedComponent extends AbstractVideoList implements On | |||
18 | constructor (protected router: Router, | 19 | constructor (protected router: Router, |
19 | protected route: ActivatedRoute, | 20 | protected route: ActivatedRoute, |
20 | protected notificationsService: NotificationsService, | 21 | protected notificationsService: NotificationsService, |
22 | protected authService: AuthService, | ||
21 | private videoService: VideoService) { | 23 | private videoService: VideoService) { |
22 | super() | 24 | super() |
23 | } | 25 | } |
diff --git a/client/src/app/videos/video-list/video-search.component.ts b/client/src/app/videos/video-list/video-search.component.ts index e874636af..b7556c13e 100644 --- a/client/src/app/videos/video-list/video-search.component.ts +++ b/client/src/app/videos/video-list/video-search.component.ts | |||
@@ -2,6 +2,7 @@ import { Component, OnDestroy, OnInit } from '@angular/core' | |||
2 | import { ActivatedRoute, Router } from '@angular/router' | 2 | import { ActivatedRoute, Router } from '@angular/router' |
3 | import { NotificationsService } from 'angular2-notifications' | 3 | import { NotificationsService } from 'angular2-notifications' |
4 | import { Subscription } from 'rxjs/Subscription' | 4 | import { Subscription } from 'rxjs/Subscription' |
5 | import { AuthService } from '../../core/auth' | ||
5 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | 6 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' |
6 | import { VideoService } from '../../shared/video/video.service' | 7 | import { VideoService } from '../../shared/video/video.service' |
7 | 8 | ||
@@ -21,6 +22,7 @@ export class VideoSearchComponent extends AbstractVideoList implements OnInit, O | |||
21 | constructor (protected router: Router, | 22 | constructor (protected router: Router, |
22 | protected route: ActivatedRoute, | 23 | protected route: ActivatedRoute, |
23 | protected notificationsService: NotificationsService, | 24 | protected notificationsService: NotificationsService, |
25 | protected authService: AuthService, | ||
24 | private videoService: VideoService) { | 26 | private videoService: VideoService) { |
25 | super() | 27 | super() |
26 | } | 28 | } |
diff --git a/client/src/app/videos/video-list/video-trending.component.ts b/client/src/app/videos/video-list/video-trending.component.ts index 82567e02d..fc48086d6 100644 --- a/client/src/app/videos/video-list/video-trending.component.ts +++ b/client/src/app/videos/video-list/video-trending.component.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { ActivatedRoute, Router } from '@angular/router' | 2 | import { ActivatedRoute, Router } from '@angular/router' |
3 | import { NotificationsService } from 'angular2-notifications' | 3 | import { NotificationsService } from 'angular2-notifications' |
4 | import { AuthService } from '../../core/auth' | ||
4 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | 5 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' |
5 | import { SortField } from '../../shared/video/sort-field.type' | 6 | import { SortField } from '../../shared/video/sort-field.type' |
6 | import { VideoService } from '../../shared/video/video.service' | 7 | import { VideoService } from '../../shared/video/video.service' |
@@ -18,6 +19,7 @@ export class VideoTrendingComponent extends AbstractVideoList implements OnInit | |||
18 | constructor (protected router: Router, | 19 | constructor (protected router: Router, |
19 | protected route: ActivatedRoute, | 20 | protected route: ActivatedRoute, |
20 | protected notificationsService: NotificationsService, | 21 | protected notificationsService: NotificationsService, |
22 | protected authService: AuthService, | ||
21 | private videoService: VideoService) { | 23 | private videoService: VideoService) { |
22 | super() | 24 | super() |
23 | } | 25 | } |