Don't display no results if still loading
This commit is contained in:
parent
612dd3c3f5
commit
c356907b71
|
@ -207,6 +207,8 @@ export class VideosListComponent implements OnInit, OnChanges, OnDestroy {
|
|||
}
|
||||
|
||||
loadMoreVideos (reset = false) {
|
||||
if (reset) this.hasDoneFirstQuery = false
|
||||
|
||||
this.getVideosObservableFunction(this.pagination, this.filters)
|
||||
.subscribe({
|
||||
next: ({ data }) => {
|
||||
|
|
|
@ -110,6 +110,8 @@ export class VideosSelectionComponent implements AfterContentInit {
|
|||
}
|
||||
|
||||
loadMoreVideos (reset = false) {
|
||||
if (reset) this.hasDoneFirstQuery = false
|
||||
|
||||
this.getVideosObservable(this.pagination.currentPage)
|
||||
.subscribe({
|
||||
next: ({ data }) => {
|
||||
|
|
Loading…
Reference in New Issue