mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
Resolve merge conflicts, minify only .js files
This commit is contained in:
@@ -30,6 +30,14 @@ dashboardController.get = function (req, res, next) {
|
||||
link: '/admin/extend/plugins',
|
||||
},
|
||||
];
|
||||
|
||||
if (global.env !== 'production') {
|
||||
notices.push({
|
||||
done: false,
|
||||
notDoneText: '[[admin/general/dashboard:running-in-development]]',
|
||||
});
|
||||
}
|
||||
|
||||
plugins.fireHook('filter:admin.notices', notices, next);
|
||||
},
|
||||
}, function (err, results) {
|
||||
|
||||
Reference in New Issue
Block a user