Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix queue on change to respect auto queue checkbox (#2608)

Kristjan Pärt45bf88d8ef90
diff --git a/web/scripts/ui.js b/web/scripts/ui.js
index 4437345a3..d4835c6e4 100644
--- a/web/scripts/ui.js
+++ b/web/scripts/ui.js
@@ -384,7 +384,7 @@ export class ComfyUI {
autoQueueModeEl.style.display = "none";
api.addEventListener("graphChanged", () => {
- if (this.autoQueueMode === "change") {
+ if (this.autoQueueMode === "change" && this.autoQueueEnabled === true) {
if (this.lastQueueSize === 0) {
this.graphHasChanged = false;
app.queuePrompt(0, this.batchCount);