From 489290b8b16bede6ddfb773adad55dee6471ccfd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Mar 2019 16:49:46 +0100 Subject: Restore videos list components --- client/src/app/videos/video-list/video-trending.component.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'client/src/app/videos/video-list/video-trending.component.ts') 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 @@ import { Component, OnDestroy, OnInit } from '@angular/core' import { ActivatedRoute, Router } from '@angular/router' -import { Location } from '@angular/common' import { immutableAssign } from '@app/shared/misc/utils' import { AuthService } from '../../core/auth' import { AbstractVideoList } from '../../shared/video/abstract-video-list' @@ -17,18 +16,16 @@ import { Notifier, ServerService } from '@app/core' }) export class VideoTrendingComponent extends AbstractVideoList implements OnInit, OnDestroy { titlePage: string - currentRoute = '/videos/trending' defaultSort: VideoSortField = '-trending' constructor ( protected router: Router, + protected serverService: ServerService, protected route: ActivatedRoute, protected notifier: Notifier, protected authService: AuthService, - protected location: Location, protected screenService: ScreenService, - private serverService: ServerService, - protected i18n: I18n, + private i18n: I18n, private videoService: VideoService ) { super() -- cgit v1.2.3