diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 2aabd29e..2d55e885 100644 --- a/web/scripts/ui.js +++ b/web/scripts/ui.js @@ -225,10 +225,10 @@ class ComfyList { $el("button", { textContent: "Load", onclick: () => { + app.loadGraphData(item.prompt[3].extra_pnginfo.workflow); if (item.outputs) { app.nodeOutputs = item.outputs; } - app.loadGraphData(item.prompt[3].extra_pnginfo.workflow); }, }), $el("button", {