mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 08:37:07 +02:00
Merge branch 'master' of https://github.com/NodeBB/NodeBB
This commit is contained in:
@@ -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