X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideo-list%2Fvideo-recently-added.component.ts;h=535b6e618433a8a8d58823a30e4722cfaca99e76;hb=efda99c30f2c04702bf57cc150cdfdd0acccc178;hp=cca35d0f58635d39f454a6930c0840b5bcf98344;hpb=7b87d2d5141d0eb48db2a3fd162208d6a79b2035;p=github%2FChocobozzz%2FPeerTube.git 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 cca35d0f5..535b6e618 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,5 +1,6 @@ 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 { NotificationsService } from 'angular2-notifications' import { AuthService } from '../../core/auth' @@ -19,6 +20,7 @@ export class VideoRecentlyAddedComponent extends AbstractVideoList implements On constructor (protected router: Router, protected route: ActivatedRoute, + protected location: Location, protected notificationsService: NotificationsService, protected authService: AuthService, private videoService: VideoService) {