when the results of the latest process is done,

the previous result get hidden
This commit is contained in:
Karma Riuk
2025-05-14 22:05:42 +02:00
parent 5f6908ba38
commit b023d197ce

View File

@ -56,6 +56,8 @@ document.getElementById("upload-btn").onclick = async () => {
results = json; results = json;
progressContainer.style.display = "none"; progressContainer.style.display = "none";
commentResultsContainer.style.display = "none";
refinementResultsContainer.style.display = "none";
const resultsContainer = const resultsContainer =
type === "comment" type === "comment"
? commentResultsContainer ? commentResultsContainer