diff --git a/public/icons/Condition.svg b/public/icons/Condition.svg index c6fafe1..01a615c 100644 --- a/public/icons/Condition.svg +++ b/public/icons/Condition.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/public/icons/Decorator.svg b/public/icons/Decorator.svg index 4b10007..c6fafe1 100644 --- a/public/icons/Decorator.svg +++ b/public/icons/Decorator.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/components/explorer.tsx b/src/components/explorer.tsx index ba0c268..a14b84a 100644 --- a/src/components/explorer.tsx +++ b/src/components/explorer.tsx @@ -324,7 +324,7 @@ export const Explorer: FC = () => { }, }; workspace.nodeDefs.forEach((nodeDef) => { - (nodeDef.group || []).forEach((g, idx) => { + (nodeDef.group || [""]).forEach((g, idx) => { const typeGroup = !g ? nodeDef.type : nodeDef.type.replace(/\(([\w|]+)\)/, `(${g})`); let catalog = data.children?.find((nt) => nt.title === typeGroup); if (!catalog) {