fix: upgrade script

isekai-main
Barış Soner Uşaklı 3 years ago
parent 682f60890b
commit 968d461692

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

Loading…
Cancel
Save