aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-list/video-recently-added.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-20 14:27:30 +0200
committerChocobozzz <me@florianbigard.com>2018-04-20 14:27:30 +0200
commit2a2c19dfef7a9aa313c6ca0798f271c9a63449a9 (patch)
treee6c87798105b64fc5dc44705532965cc6c96bd06 /client/src/app/videos/video-list/video-recently-added.component.ts
parent6d492e562cdc80d986323e9b5ee14953d3956e18 (diff)
downloadPeerTube-2a2c19dfef7a9aa313c6ca0798f271c9a63449a9.tar.gz
PeerTube-2a2c19dfef7a9aa313c6ca0798f271c9a63449a9.tar.zst
PeerTube-2a2c19dfef7a9aa313c6ca0798f271c9a63449a9.zip
Replace current state when changing page
Diffstat (limited to 'client/src/app/videos/video-list/video-recently-added.component.ts')
-rw-r--r--client/src/app/videos/video-list/video-recently-added.component.ts2
1 files changed, 2 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 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 @@
1import { Component, OnDestroy, OnInit } from '@angular/core' 1import { Component, OnDestroy, OnInit } from '@angular/core'
2import { ActivatedRoute, Router } from '@angular/router' 2import { ActivatedRoute, Router } from '@angular/router'
3import { Location } from '@angular/common'
3import { immutableAssign } from '@app/shared/misc/utils' 4import { immutableAssign } from '@app/shared/misc/utils'
4import { NotificationsService } from 'angular2-notifications' 5import { NotificationsService } from 'angular2-notifications'
5import { AuthService } from '../../core/auth' 6import { AuthService } from '../../core/auth'
@@ -19,6 +20,7 @@ export class VideoRecentlyAddedComponent extends AbstractVideoList implements On
19 20
20 constructor (protected router: Router, 21 constructor (protected router: Router,
21 protected route: ActivatedRoute, 22 protected route: ActivatedRoute,
23 protected location: Location,
22 protected notificationsService: NotificationsService, 24 protected notificationsService: NotificationsService,
23 protected authService: AuthService, 25 protected authService: AuthService,
24 private videoService: VideoService) { 26 private videoService: VideoService) {