mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
standardize showSelect amongst category and topic_list routes
This commit is contained in:
@@ -277,6 +277,7 @@ categoriesController.get = function(req, res, next) {
|
||||
},
|
||||
function (categoryData, next) {
|
||||
categoryData.privileges = userPrivileges;
|
||||
categoryData.showSelect = categoryData.privileges.editable;
|
||||
|
||||
res.locals.metaTags = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user