|
|
@ -18,7 +18,7 @@ module.exports = {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
delete navItem.properties;
|
|
|
|
delete navItem.properties;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (navItem.hasOwnProperty('groups') && Array.isArray(navItem.groups)) {
|
|
|
|
if (navItem.hasOwnProperty('groups') && (Array.isArray(navItem.groups) || typeof navItem.groups === 'string')) {
|
|
|
|
navItem.groups = JSON.stringify(navItem.groups);
|
|
|
|
navItem.groups = JSON.stringify(navItem.groups);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
bulkSet.push([`navigation:enabled:${item.score}`, navItem]);
|
|
|
|
bulkSet.push([`navigation:enabled:${item.score}`, navItem]);
|
|
|
|