Skip to content

Commit

Permalink
fix: first load filter not working
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno authored Apr 14, 2020
2 parents dad13bc + eac46e4 commit 8fefbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FeedManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class FeedManager {
this.feed.updateHxLength(items);
this.sortItemsByDate(data);
this.identifyNewItems(data);
this.populateNewItemsInFeed(data);
this.populateNewItemsInFeed(data, firstload);
if (firstload && !this.instance.skipFirstLoad) {
this.instance.emit(`initial-load:${this.feed.url}`, { url: this.feed.url, items: this.feed.items });
}
Expand Down

0 comments on commit 8fefbde

Please sign in to comment.