mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
ability to set unread as home
This commit is contained in:
@@ -59,7 +59,10 @@ unreadController.get = function(req, res, next) {
|
||||
data.categories = results.watchedCategories.categories;
|
||||
data.selectedCategory = results.watchedCategories.selectedCategory;
|
||||
|
||||
data.breadcrumbs = helpers.buildBreadcrumbs([{text: '[[unread:title]]'}]);
|
||||
if (req.path.startsWith('/api/unread') || req.path.startsWith('/unread')) {
|
||||
data.breadcrumbs = helpers.buildBreadcrumbs([{text: '[[unread:title]]'}]);
|
||||
}
|
||||
|
||||
data.title = '[[pages:unread]]';
|
||||
data.filters = [{
|
||||
name: '[[unread:all-topics]]',
|
||||
|
||||
Reference in New Issue
Block a user