Swap order to prevent being cleared

This commit is contained in:
pythongosssss 2023-03-31 18:04:53 +01:00
parent 9a27030519
commit 1716aaa7a6
1 changed files with 1 additions and 1 deletions

View File

@ -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", {