This commit is contained in:
Barış Soner Uşaklı
2018-11-12 12:42:10 -05:00
committed by GitHub
parent d63db8d20f
commit c593ffd75f

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