Use friendly name in new component panel if available
This commit is contained in:
parent
8c227c0edd
commit
5ae40d8e15
|
@ -58,7 +58,10 @@
|
||||||
enrichedStructure.push({
|
enrichedStructure.push({
|
||||||
name: "Custom components",
|
name: "Custom components",
|
||||||
isCategory: true,
|
isCategory: true,
|
||||||
children: customComponents.map(x => definitions[x]),
|
children: customComponents.map(x => ({
|
||||||
|
...definitions[x],
|
||||||
|
name: definitions[x].friendlyName || definitions[x].name,
|
||||||
|
})),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue