mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-12 20:48:22 +00: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:
@@ -2239,7 +2239,7 @@ export class ComfyApp {
|
|||||||
const node = LiteGraph.createNode(data.class_type);
|
const node = LiteGraph.createNode(data.class_type);
|
||||||
node.id = isNaN(+id) ? id : +id;
|
node.id = isNaN(+id) ? id : +id;
|
||||||
node.title = data._meta?.title ?? node.title
|
node.title = data._meta?.title ?? node.title
|
||||||
graph.add(node);
|
app.graph.add(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const id of ids) {
|
for (const id of ids) {
|
||||||
|
Reference in New Issue
Block a user