Fix loadGraphData call when loading from json (#484)

This commit is contained in:
bymyself
2024-08-17 07:47:39 -07:00
committed by GitHub
parent 73f7889f81
commit 05c6193a1d

View File

@@ -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)