From 379ff92e9e872a588ad2ceeabdd08b909590b25b Mon Sep 17 00:00:00 2001 From: Juanjuan <472185568@qq.com> Date: Mon, 17 Jun 2024 19:56:53 +0800 Subject: [PATCH] fix app.js no graph defined (#3754) * local test * fix "graph" not found * fix --------- Co-authored-by: Xiujuan Li --- web/scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/scripts/app.js b/web/scripts/app.js index f96d197a..58fb765c 100644 --- a/web/scripts/app.js +++ b/web/scripts/app.js @@ -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) {