1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

fix app.js no graph defined (#3754)

* local test

* fix "graph" not found

* fix

---------

Co-authored-by: Xiujuan Li <xiujuali@amazon.com>
This commit is contained in:
Juanjuan
2024-06-17 19:56:53 +08:00
committed by GitHub
parent b7c473d1ab
commit 379ff92e9e

View File

@@ -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) {