This commit is contained in:
Barış Soner Uşaklı
2018-11-12 14:04:40 -05:00

View File

@@ -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');