mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 05:40:43 +01:00
fix: upgrade script
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user