mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 13:05:49 +02:00
backport unread inf scroll fix
This commit is contained in:
committed by
GitHub
parent
1cdb6af5dc
commit
53c13976b6
@@ -51,7 +51,7 @@ module.exports = function (Topics) {
|
||||
if (!topicData.length) {
|
||||
return next(null, unreadTopics);
|
||||
}
|
||||
|
||||
Topics.calculateTopicIndices(topicData, params.start);
|
||||
unreadTopics.topics = topicData;
|
||||
unreadTopics.nextStart = params.stop + 1;
|
||||
next(null, unreadTopics);
|
||||
|
||||
Reference in New Issue
Block a user