mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
closes #6944
This commit is contained in:
committed by
GitHub
parent
d63db8d20f
commit
c593ffd75f
@@ -14,7 +14,7 @@ module.exports = {
|
||||
},
|
||||
function (data, next) {
|
||||
data.forEach(function (navItem) {
|
||||
if (navItem) {
|
||||
if (navItem && navItem.properties) {
|
||||
navItem.groups = [];
|
||||
if (navItem.properties.adminOnly) {
|
||||
navItem.groups.push('administrators');
|
||||
|
||||
Reference in New Issue
Block a user