Load titles from API format JSON (#3563)
This commit is contained in:
parent
efa5a711b2
commit
5b87369474
|
@ -2238,6 +2238,7 @@ export class ComfyApp {
|
|||
const data = apiData[id];
|
||||
const node = LiteGraph.createNode(data.class_type);
|
||||
node.id = isNaN(+id) ? id : +id;
|
||||
node.title = data._meta?.title ?? node.title
|
||||
graph.add(node);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue