diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-20 14:27:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-20 14:27:30 +0200 |
commit | 2a2c19dfef7a9aa313c6ca0798f271c9a63449a9 (patch) | |
tree | e6c87798105b64fc5dc44705532965cc6c96bd06 /client/src/app/videos/video-list/video-local.component.ts | |
parent | 6d492e562cdc80d986323e9b5ee14953d3956e18 (diff) | |
download | PeerTube-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-local.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-local.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/video-list/video-local.component.ts b/client/src/app/videos/video-list/video-local.component.ts index de6552875..fd67be67b 100644 --- a/client/src/app/videos/video-list/video-local.component.ts +++ b/client/src/app/videos/video-list/video-local.component.ts | |||
@@ -1,6 +1,7 @@ | |||
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 { immutableAssign } from '@app/shared/misc/utils' | 3 | import { immutableAssign } from '@app/shared/misc/utils' |
4 | import { Location } from '@angular/common' | ||
4 | import { NotificationsService } from 'angular2-notifications' | 5 | import { NotificationsService } from 'angular2-notifications' |
5 | import { AuthService } from '../../core/auth' | 6 | import { AuthService } from '../../core/auth' |
6 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | 7 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' |
@@ -23,6 +24,7 @@ export class VideoLocalComponent extends AbstractVideoList implements OnInit, On | |||
23 | protected route: ActivatedRoute, | 24 | protected route: ActivatedRoute, |
24 | protected notificationsService: NotificationsService, | 25 | protected notificationsService: NotificationsService, |
25 | protected authService: AuthService, | 26 | protected authService: AuthService, |
27 | protected location: Location, | ||
26 | private videoService: VideoService) { | 28 | private videoService: VideoService) { |
27 | super() | 29 | super() |
28 | } | 30 | } |