Implement issues for v1.1.0 #20
@ -129,7 +129,7 @@ function loadOlderPosts() {
|
|||||||
// There shouldn't be any duplicates, but better be safe than sorry
|
// There shouldn't be any duplicates, but better be safe than sorry
|
||||||
data.posts = filterDuplicates(data.posts.concat(resp));
|
data.posts = filterDuplicates(data.posts.concat(resp));
|
||||||
// If we got less than we expected, there are no older posts available
|
// If we got less than we expected, there are no older posts available
|
||||||
moreOlderPostsAvailable = resp.length < (filter.count ?? 20);
|
moreOlderPostsAvailable = resp.length >= (filter.count ?? 20);
|
||||||
} else {
|
} else {
|
||||||
moreOlderPostsAvailable = false;
|
moreOlderPostsAvailable = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user