From 05c6193a1d6cdc4787375fbe7c29ed0d5a206387 Mon Sep 17 00:00:00 2001 From: bymyself Date: Sat, 17 Aug 2024 07:47:39 -0700 Subject: [PATCH] Fix loadGraphData call when loading from json (#484) --- src/scripts/app.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/scripts/app.ts b/src/scripts/app.ts index 79591b1a3a..9c1e0a19ef 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -2699,7 +2699,12 @@ export class ComfyApp { } else if (this.isApiJson(jsonContent)) { this.loadApiJson(jsonContent, fileName) } else { - await this.loadGraphData(JSON.parse(readerResult), true, fileName) + await this.loadGraphData( + JSON.parse(readerResult), + true, + false, + fileName + ) } } reader.readAsText(file)