diff --git a/packages/orbit-components/config/fetchIcons.mts b/packages/orbit-components/config/fetchIcons.mts index 90174ad303..687f0478e0 100644 --- a/packages/orbit-components/config/fetchIcons.mts +++ b/packages/orbit-components/config/fetchIcons.mts @@ -231,7 +231,10 @@ async function saveOrbitIcons(data: { name: string; svg: string; id: string }[]) const nodeId = nodes[id] as string; return { id, - name: nodeId.toLowerCase().replace(/\+kg/, "").replace(/\s+/g, "-"), + name: nodeId + .toLowerCase() + .replace(/\+kg|\(|\)/g, "") + .replace(/\s+/g, "-"), svg: await res.text(), }; }),