Commit 14aa9c6d authored by Mark Harding's avatar Mark Harding

(fix): prevent fetching the entire feed to refresh when simply scrolling

parent 4bbb05e5
No related merge requests found
Pipeline #74541150 waiting for delayed job with stages
in 44 minutes and 20 seconds
......@@ -43,7 +43,7 @@ export class EntitiesService {
if (!this.entities.has(feedItem.urn)) {
urnsToFetch.push(feedItem.urn);
}
if (this.entities.has(feedItem.urn) && !feedItem.entity) {
if (this.entities.has(feedItem.urn) && !feedItem.entity && feed.length < 20) {
urnsToResync.push(feedItem.urn);
}
}
......
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