mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
ESlint object-curly-spacing
This commit is contained in:
@@ -52,10 +52,10 @@ popularController.get = function (req, res, next) {
|
||||
};
|
||||
|
||||
if (req.path.startsWith('/api/popular') || req.path.startsWith('/popular')) {
|
||||
var breadcrumbs = [{text: termToBreadcrumb[term]}];
|
||||
var breadcrumbs = [{ text: termToBreadcrumb[term] }];
|
||||
|
||||
if (req.params.term) {
|
||||
breadcrumbs.unshift({text: '[[global:header.popular]]', url: '/popular'});
|
||||
breadcrumbs.unshift({ text: '[[global:header.popular]]', url: '/popular' });
|
||||
}
|
||||
|
||||
data.breadcrumbs = helpers.buildBreadcrumbs(breadcrumbs);
|
||||
|
||||
Reference in New Issue
Block a user