diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/videos-list.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-video-miniature/videos-selection.component.ts | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-video-miniature/videos-list.component.ts b/client/src/app/shared/shared-video-miniature/videos-list.component.ts index 3db835257..9a7ec7efa 100644 --- a/client/src/app/shared/shared-video-miniature/videos-list.component.ts +++ b/client/src/app/shared/shared-video-miniature/videos-list.component.ts | |||
@@ -207,6 +207,8 @@ export class VideosListComponent implements OnInit, OnChanges, OnDestroy { | |||
207 | } | 207 | } |
208 | 208 | ||
209 | loadMoreVideos (reset = false) { | 209 | loadMoreVideos (reset = false) { |
210 | if (reset) this.hasDoneFirstQuery = false | ||
211 | |||
210 | this.getVideosObservableFunction(this.pagination, this.filters) | 212 | this.getVideosObservableFunction(this.pagination, this.filters) |
211 | .subscribe({ | 213 | .subscribe({ |
212 | next: ({ data }) => { | 214 | next: ({ data }) => { |
diff --git a/client/src/app/shared/shared-video-miniature/videos-selection.component.ts b/client/src/app/shared/shared-video-miniature/videos-selection.component.ts index cafaf6e85..bac828fba 100644 --- a/client/src/app/shared/shared-video-miniature/videos-selection.component.ts +++ b/client/src/app/shared/shared-video-miniature/videos-selection.component.ts | |||
@@ -110,6 +110,8 @@ export class VideosSelectionComponent implements AfterContentInit { | |||
110 | } | 110 | } |
111 | 111 | ||
112 | loadMoreVideos (reset = false) { | 112 | loadMoreVideos (reset = false) { |
113 | if (reset) this.hasDoneFirstQuery = false | ||
114 | |||
113 | this.getVideosObservable(this.pagination.currentPage) | 115 | this.getVideosObservable(this.pagination.currentPage) |
114 | .subscribe({ | 116 | .subscribe({ |
115 | next: ({ data }) => { | 117 | next: ({ data }) => { |