diff options
Diffstat (limited to 'client/src/app/videos/video-list/video-list.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-list.component.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/client/src/app/videos/video-list/video-list.component.ts b/client/src/app/videos/video-list/video-list.component.ts index 16e1b5bcc..16a40bdc4 100644 --- a/client/src/app/videos/video-list/video-list.component.ts +++ b/client/src/app/videos/video-list/video-list.component.ts | |||
@@ -76,10 +76,7 @@ export class VideoListComponent implements OnInit, OnDestroy { | |||
76 | this.loading.next(true); | 76 | this.loading.next(true); |
77 | this.videos = []; | 77 | this.videos = []; |
78 | 78 | ||
79 | this.changeDetector.detectChanges(); | ||
80 | |||
81 | let observable = null; | 79 | let observable = null; |
82 | |||
83 | if (this.search.value) { | 80 | if (this.search.value) { |
84 | observable = this.videoService.searchVideos(this.search, this.pagination, this.sort); | 81 | observable = this.videoService.searchVideos(this.search, this.pagination, this.sort); |
85 | } else { | 82 | } else { |
@@ -150,8 +147,6 @@ export class VideoListComponent implements OnInit, OnDestroy { | |||
150 | } else { | 147 | } else { |
151 | this.pagination.currentPage = 1; | 148 | this.pagination.currentPage = 1; |
152 | } | 149 | } |
153 | |||
154 | this.changeDetector.detectChanges(); | ||
155 | } | 150 | } |
156 | 151 | ||
157 | private navigateToNewParams() { | 152 | private navigateToNewParams() { |