Skip to content

Commit

Permalink
Load titles from API format JSON (#3563)
Browse files Browse the repository at this point in the history
  • Loading branch information
DLohn committed May 25, 2024
1 parent efa5a71 commit 5b87369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5b87369

Please sign in to comment.