mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
fixed bug where privilege state was not correctly calculated for MongoDB installs, and fixed columnCount not being present when a the privilege list is refreshed
This commit is contained in:
@@ -136,8 +136,6 @@ adminController.categories.get = function(req, res, next) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
data.privileges.columnCount = data.privileges.labels.users.length + 2;
|
||||
|
||||
res.render('admin/manage/category', {
|
||||
category: data.category[0],
|
||||
privileges: data.privileges
|
||||
|
||||
Reference in New Issue
Block a user