When starting a new queue job, and the job finished the "Generate" button can not be reused. The state not changing.
Under the button, the status are empties:
Job ID:
Status:
When starting a new queue job, and the job finished the "Generate" button can not be reused. The state not changing.
Under the button, the status are empties:
```
Job ID:
Status:
```
Root Cause:
The job info status display was showing unconditionally whenever jobInfo existed, which persisted after generation completed. This made the UI appear "stuck" and prevented the Generate button from being reusable.
Solution:
Changed the conditional rendering from {jobInfo && ...} to {loading && jobInfo && ...} so the status section only appears during active generation, not after completion.
Changes:
Modified all generation pages to conditionally display jobInfo:
webui/app/text2img/page.tsx (line 350)
webui/app/img2img/page.tsx (line 342)
webui/app/upscaler/page.tsx (line 275)
Also improved Job ID display to handle both id and request_id fields for better compatibility.
Result:
Job status only shows while generation is in progress
UI clears automatically when generation completes
Generate button is immediately reusable
Cleaner user experience
The fix is now live in the WebUI.
## Fixed in commit b191071
**Root Cause:**
The job info status display was showing unconditionally whenever `jobInfo` existed, which persisted after generation completed. This made the UI appear "stuck" and prevented the Generate button from being reusable.
**Solution:**
Changed the conditional rendering from `{jobInfo && ...}` to `{loading && jobInfo && ...}` so the status section only appears during active generation, not after completion.
**Changes:**
Modified all generation pages to conditionally display jobInfo:
- `webui/app/text2img/page.tsx` (line 350)
- `webui/app/img2img/page.tsx` (line 342)
- `webui/app/upscaler/page.tsx` (line 275)
Also improved Job ID display to handle both `id` and `request_id` fields for better compatibility.
**Result:**
- Job status only shows while generation is in progress
- UI clears automatically when generation completes
- Generate button is immediately reusable
- Cleaner user experience
The fix is now live in the WebUI.
When starting a new queue job, and the job finished the "Generate" button can not be reused. The state not changing. Under the button, the status are empties:
Fixed in commit
b191071Root Cause: The job info status display was showing unconditionally whenever
jobInfoexisted, which persisted after generation completed. This made the UI appear "stuck" and prevented the Generate button from being reusable.Solution: Changed the conditional rendering from
{jobInfo && ...}to{loading && jobInfo && ...}so the status section only appears during active generation, not after completion.Changes: Modified all generation pages to conditionally display jobInfo:
webui/app/text2img/page.tsx(line 350)webui/app/img2img/page.tsx(line 342)webui/app/upscaler/page.tsx(line 275)Also improved Job ID display to handle both
idandrequest_idfields for better compatibility.Result:
The fix is now live in the WebUI.