mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
removed slice
This commit is contained in:
@@ -47,7 +47,7 @@ categoriesController.unread = function(req, res, next) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
data.topics = data.topics.slice(0, parseInt(meta.config.topicsPerList, 10) || 20);
|
||||
|
||||
res.render('unread', data);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user