Commit a8b4cc9a authored by Mark Harding's avatar Mark Harding

(feat): infinite newsfeed scrolls - closes engine#692

parent 5e3aa0b0
No related merge requests found
Pipeline #74537756 failed with stages
in 8 minutes and 5 seconds
......@@ -125,6 +125,12 @@ export class NewsfeedSubscribedComponent {
loadNext() {
if (this.featuresService.has('es-feeds')) {
if (this.feedsService.canFetchMore
&& !this.feedsService.inProgress.getValue()
&& this.feedsService.offset.getValue()
) {
this.feedsService.fetch(); // load the next 150 in the background
}
this.feedsService.loadMore();
} else {
this.loadLegacy();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment