show node group in inspector
This commit is contained in:
1 parent
170dffb82c
commit
195028b62c
7 files changed
+87
-60
No files matched your search
@@ -325,7 +325,7 @@ export const Explorer: FC = () => {
|
||||
};
|
||||
workspace.nodeDefs.forEach((nodeDef) => {
|
||||
(nodeDef.group || [""]).forEach((g, idx) => {
|
||||
const typeGroup = !g ? nodeDef.type : nodeDef.type.replace(/\(([\w|]+)\)/, `(${g})`);
|
||||
const typeGroup = !g ? nodeDef.type : `${nodeDef.type} (${g})`;
|
||||
let catalog = data.children?.find((nt) => nt.title === typeGroup);
|
||||
if (!catalog) {
|
||||
const type = getNodeType(nodeDef);
|
||||
|
||||
Reference in new issue
Block a user