Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix([qwen-image-edit-init-image-required]): gate handleGenerate so Enter-submit can't bypass the edit-image check
[._.]/ Adam Eivy1d5b24d7d01b
diff --git a/client/src/pages/ImageGen.jsx b/client/src/pages/ImageGen.jsxindex 1d74af0e85..b9d3e37c33 100644--- a/client/src/pages/ImageGen.jsx+++ b/client/src/pages/ImageGen.jsx@@ -719,6 +719,10 @@ export default function ImageGen() {const handleGenerate = async (e) => {e?.preventDefault?.();if (!prompt.trim()) return;+ // The disabled submit button blocks clicks, but an Enter keypress in a+ // number input still fires onSubmit — gate here too so an edit-only model+ // without a source image hits the inline hint, not a server 400 toast.+ if (editImageMissing) return;const batchN = isAsyncMode ? Math.max(1, batchCount) : 1;if (generating) return queueAdditional(batchN);setGenerating(true);