forked from extern/easydiffusion
Only delete task sections if they are no longer processing
This commit is contained in:
parent
0fd706f392
commit
2916a33fa2
@ -288,7 +288,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