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:
Julian Lam
2015-03-28 09:54:39 -04:00
parent d27ec057c5
commit 89442c91c6
2 changed files with 22 additions and 5 deletions

View File

@@ -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