mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +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) {
|
function (categoryData, next) {
|
||||||
categoryData.privileges = userPrivileges;
|
categoryData.privileges = userPrivileges;
|
||||||
|
categoryData.showSelect = categoryData.privileges.editable;
|
||||||
|
|
||||||
res.locals.metaTags = [
|
res.locals.metaTags = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user