misc small fixes
This commit is contained in:
@@ -69,6 +69,12 @@ export default {
|
||||
node.type = node.type === 'Textref' ? 'ref' : 'prod'
|
||||
}
|
||||
|
||||
if (node.tags) {
|
||||
node.tags = node.tags.map(tag => {
|
||||
return { ...tag, name: tag.name[0].toUpperCase() + tag.name.slice(1) }
|
||||
})
|
||||
}
|
||||
|
||||
for (const relation of RELATIONS) {
|
||||
if (relation in node && node[relation]) {
|
||||
node[relation] = node[relation].map(subNode => {
|
||||
|
||||
Reference in New Issue
Block a user