update icons

This commit is contained in:
codetypes committed 2025-03-20 01:24:19 +08:00
1 parent 5f2a0fa80b
commit 9af6aef614
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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) {