diff options
Diffstat (limited to 'client/src/app/videos/video-list/video-trending.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-trending.component.ts | 7 |
1 files changed, 2 insertions, 5 deletions
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 a66a0f97c..e2ad95bc4 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,5 @@ | |||
1 | import { Component, OnDestroy, OnInit } from '@angular/core' | 1 | import { Component, OnDestroy, OnInit } from '@angular/core' |
2 | import { ActivatedRoute, Router } from '@angular/router' | 2 | import { ActivatedRoute, Router } from '@angular/router' |
3 | import { Location } from '@angular/common' | ||
4 | import { immutableAssign } from '@app/shared/misc/utils' | 3 | import { immutableAssign } from '@app/shared/misc/utils' |
5 | import { AuthService } from '../../core/auth' | 4 | import { AuthService } from '../../core/auth' |
6 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | 5 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' |
@@ -17,18 +16,16 @@ import { Notifier, ServerService } from '@app/core' | |||
17 | }) | 16 | }) |
18 | export class VideoTrendingComponent extends AbstractVideoList implements OnInit, OnDestroy { | 17 | export class VideoTrendingComponent extends AbstractVideoList implements OnInit, OnDestroy { |
19 | titlePage: string | 18 | titlePage: string |
20 | currentRoute = '/videos/trending' | ||
21 | defaultSort: VideoSortField = '-trending' | 19 | defaultSort: VideoSortField = '-trending' |
22 | 20 | ||
23 | constructor ( | 21 | constructor ( |
24 | protected router: Router, | 22 | protected router: Router, |
23 | protected serverService: ServerService, | ||
25 | protected route: ActivatedRoute, | 24 | protected route: ActivatedRoute, |
26 | protected notifier: Notifier, | 25 | protected notifier: Notifier, |
27 | protected authService: AuthService, | 26 | protected authService: AuthService, |
28 | protected location: Location, | ||
29 | protected screenService: ScreenService, | 27 | protected screenService: ScreenService, |
30 | private serverService: ServerService, | 28 | private i18n: I18n, |
31 | protected i18n: I18n, | ||
32 | private videoService: VideoService | 29 | private videoService: VideoService |
33 | ) { | 30 | ) { |
34 | super() | 31 | super() |