diff --git a/src/upgrades/1.19.0/navigation-enabled-hashes.js b/src/upgrades/1.19.0/navigation-enabled-hashes.js index e92c1e9cde..c45f7d078a 100644 --- a/src/upgrades/1.19.0/navigation-enabled-hashes.js +++ b/src/upgrades/1.19.0/navigation-enabled-hashes.js @@ -18,6 +18,9 @@ module.exports = { } delete navItem.properties; } + if (navItem.hasOwnProperty('groups') && Array.isArray(navItem.groups)) { + navItem.groups = JSON.stringify(navItem.groups); + } bulkSet.push([`navigation:enabled:${item.score}`, navItem]); order.push(item.score); });