From 29713866ff61a9b15a172583af3149ac44fbe3f8 Mon Sep 17 00:00:00 2001 From: Xiujuan Li Date: Mon, 17 Jun 2024 15:17:01 +0800 Subject: [PATCH] fix "graph" not found --- 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 f96d197a8..58fb765c4 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) {