mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +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:
parent
b7c473d1ab
commit
379ff92e9e
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user