mirror of https://github.com/Chocobozzz/PeerTube
Don't display no results if still loading
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