mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 09:55:47 +01:00
fix title for dashboard
This commit is contained in:
@@ -112,7 +112,7 @@ middleware.renderHeader = function(req, res, data, next) {
|
|||||||
scripts: results.scripts,
|
scripts: results.scripts,
|
||||||
'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '',
|
'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '',
|
||||||
env: process.env.NODE_ENV ? true : false,
|
env: process.env.NODE_ENV ? true : false,
|
||||||
title: acpPath + ' | NodeBB Admin Control Panel'
|
title: (acpPath || 'Dashboard') + ' | NodeBB Admin Control Panel'
|
||||||
};
|
};
|
||||||
|
|
||||||
templateValues.template = {name: res.locals.template};
|
templateValues.template = {name: res.locals.template};
|
||||||
|
|||||||
Reference in New Issue
Block a user