Skip to content

Commit 05c6193

Browse files
Fix loadGraphData call when loading from json (#484)
1 parent 73f7889 commit 05c6193

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/scripts/app.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,12 @@ export class ComfyApp {
26992699
} else if (this.isApiJson(jsonContent)) {
27002700
this.loadApiJson(jsonContent, fileName)
27012701
} else {
2702-
await this.loadGraphData(JSON.parse(readerResult), true, fileName)
2702+
await this.loadGraphData(
2703+
JSON.parse(readerResult),
2704+
true,
2705+
false,
2706+
fileName
2707+
)
27032708
}
27042709
}
27052710
reader.readAsText(file)

0 commit comments

Comments
 (0)