forked from extern/easydiffusion
Merge pull request #1009 from JeLuF/BigX
Only delete task sections if they are no longer processing
This commit is contained in:
commit
24b631500a
@ -298,7 +298,10 @@ function showImages(reqBody, res, outputContainer, livePreview) {
|
||||
allHidden = false;
|
||||
}
|
||||
}
|
||||
if(allHidden === true) {parentTaskContainer.classList.add("displayNone")}
|
||||
if(allHidden === true) {
|
||||
const req = htmlTaskMap.get(parentTaskContainer)
|
||||
if(!req.isProcessing || req.batchesDone == req.batchCount) {parentTaskContainer.classList.add("displayNone")}
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user