aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-27 17:10:56 +0200
committerChocobozzz <me@florianbigard.com>2018-03-27 17:10:56 +0200
commit5b5e333f068c7bd5fcf519bcd3f687eb46221883 (patch)
tree951a8f6382dba0ada7511454c55bfa4384864507 /client/src/app/videos
parentd414207f07f47307947d86d5bc5c5fc0ae73be18 (diff)
downloadPeerTube-5b5e333f068c7bd5fcf519bcd3f687eb46221883.tar.gz
PeerTube-5b5e333f068c7bd5fcf519bcd3f687eb46221883.tar.zst
PeerTube-5b5e333f068c7bd5fcf519bcd3f687eb46221883.zip
Fix videos list params
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/video-list/video-search.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/videos/video-list/video-search.component.ts b/client/src/app/videos/video-list/video-search.component.ts
index 67857a0a9..b94be8e11 100644
--- a/client/src/app/videos/video-list/video-search.component.ts
+++ b/client/src/app/videos/video-list/video-search.component.ts
@@ -39,6 +39,7 @@ export class VideoSearchComponent extends AbstractVideoList implements OnInit, O
39 this.subActivatedRoute = this.route.queryParams.subscribe( 39 this.subActivatedRoute = this.route.queryParams.subscribe(
40 queryParams => { 40 queryParams => {
41 const querySearch = queryParams['search'] 41 const querySearch = queryParams['search']
42
42 if (!querySearch) return this.redirectService.redirectToHomepage() 43 if (!querySearch) return this.redirectService.redirectToHomepage()
43 if (this.otherRouteParams.search === querySearch) return 44 if (this.otherRouteParams.search === querySearch) return
44 45