Skip to content

Commit 7e85100

Browse files
authored
fix: Make sure use the correct graph parameter (#2200)
1 parent dd4dd8b commit 7e85100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ export class ComfyApp {
14781478
* @returns The workflow and node links
14791479
*/
14801480
async graphToPrompt(graph = this.graph, clean = true) {
1481-
for (const outerNode of this.graph.computeExecutionOrder(false)) {
1481+
for (const outerNode of graph.computeExecutionOrder(false)) {
14821482
if (outerNode.widgets) {
14831483
for (const widget of outerNode.widgets) {
14841484
// Allow widgets to run callbacks before a prompt has been queued

0 commit comments

Comments
 (0)