mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-12 12:37:01 +00:00
Add code for categories.
This commit is contained in:
@@ -237,7 +237,7 @@ function onObjectInfo(json) {
|
||||
MyNode.__json_data = json[key]
|
||||
|
||||
LiteGraph.registerNodeType(key, MyNode);
|
||||
MyNode.category = "sd"; //TODO: proper categories
|
||||
MyNode.category = json[key]['category'];
|
||||
};
|
||||
|
||||
afterLoadGraph();
|
||||
|
Reference in New Issue
Block a user