Unverified Commit 379ff92e authored by Juanjuan's avatar Juanjuan Committed by GitHub
Browse files

fix app.js no graph defined (#3754)



* local test

* fix "graph" not found

* fix

---------
Co-authored-by: default avatarXiujuan Li <xiujuali@amazon.com>
parent b7c473d1
......@@ -2239,7 +2239,7 @@ export class ComfyApp {
const node = LiteGraph.createNode(data.class_type);
node.id = isNaN(+id) ? id : +id;
node.title = data._meta?.title ?? node.title
graph.add(node);
app.graph.add(node);
}
for (const id of ids) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment