Fix loadGraphData call during restore (#3976)

This commit is contained in:
bymyself
2024-07-09 08:23:26 -07:00
committed by GitHub
parent ade7aa1b0c
commit d160073829

View File

@@ -1599,7 +1599,7 @@ export class ComfyApp {
if (json) { if (json) {
const workflow = JSON.parse(json); const workflow = JSON.parse(json);
const workflowName = getStorageValue("Comfy.PreviousWorkflow"); const workflowName = getStorageValue("Comfy.PreviousWorkflow");
await this.loadGraphData(workflow, true, workflowName); await this.loadGraphData(workflow, true, true, workflowName);
return true; return true;
} }
}; };