aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-list
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-12 14:41:59 +0100
committerChocobozzz <me@florianbigard.com>2017-12-12 14:41:59 +0100
commitb2731bff2834fb6aacf166cf435030bf96eb12f3 (patch)
treea519c0669ffc27712fffebc5750df54952a61100 /client/src/app/videos/video-list
parent4a7eeb62f1364678fff28fef4a83a0e9b640017c (diff)
downloadPeerTube-b2731bff2834fb6aacf166cf435030bf96eb12f3.tar.gz
PeerTube-b2731bff2834fb6aacf166cf435030bf96eb12f3.tar.zst
PeerTube-b2731bff2834fb6aacf166cf435030bf96eb12f3.zip
Small style fixes
Diffstat (limited to 'client/src/app/videos/video-list')
-rw-r--r--client/src/app/videos/video-list/video-recently-added.component.ts2
-rw-r--r--client/src/app/videos/video-list/video-search.component.ts2
-rw-r--r--client/src/app/videos/video-list/video-trending.component.ts2
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 @@
1import { Component, OnInit } from '@angular/core' 1import { Component, OnInit } from '@angular/core'
2import { ActivatedRoute, Router } from '@angular/router' 2import { ActivatedRoute, Router } from '@angular/router'
3import { NotificationsService } from 'angular2-notifications' 3import { NotificationsService } from 'angular2-notifications'
4import { AuthService } from '../../core/auth'
4import { AbstractVideoList } from '../../shared/video/abstract-video-list' 5import { AbstractVideoList } from '../../shared/video/abstract-video-list'
5import { SortField } from '../../shared/video/sort-field.type' 6import { SortField } from '../../shared/video/sort-field.type'
6import { VideoService } from '../../shared/video/video.service' 7import { 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'
2import { ActivatedRoute, Router } from '@angular/router' 2import { ActivatedRoute, Router } from '@angular/router'
3import { NotificationsService } from 'angular2-notifications' 3import { NotificationsService } from 'angular2-notifications'
4import { Subscription } from 'rxjs/Subscription' 4import { Subscription } from 'rxjs/Subscription'
5import { AuthService } from '../../core/auth'
5import { AbstractVideoList } from '../../shared/video/abstract-video-list' 6import { AbstractVideoList } from '../../shared/video/abstract-video-list'
6import { VideoService } from '../../shared/video/video.service' 7import { 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 @@
1import { Component, OnInit } from '@angular/core' 1import { Component, OnInit } from '@angular/core'
2import { ActivatedRoute, Router } from '@angular/router' 2import { ActivatedRoute, Router } from '@angular/router'
3import { NotificationsService } from 'angular2-notifications' 3import { NotificationsService } from 'angular2-notifications'
4import { AuthService } from '../../core/auth'
4import { AbstractVideoList } from '../../shared/video/abstract-video-list' 5import { AbstractVideoList } from '../../shared/video/abstract-video-list'
5import { SortField } from '../../shared/video/sort-field.type' 6import { SortField } from '../../shared/video/sort-field.type'
6import { VideoService } from '../../shared/video/video.service' 7import { 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 }