mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-31 11:59:02 +00:00
Hide progress spinner if a job failed.
This commit is contained in:
parent
820845b499
commit
527857f6f6
@ -280,7 +280,7 @@ var options = {page: 5,
|
|||||||
|
|
||||||
setStatus(status) {
|
setStatus(status) {
|
||||||
let progressIndicator, statusElements;
|
let progressIndicator, statusElements;
|
||||||
if (status === "complete") {
|
if (status === "complete" || status === "failed") {
|
||||||
progressIndicator = document.getElementById("progress-indicator");
|
progressIndicator = document.getElementById("progress-indicator");
|
||||||
progressIndicator.classList.add("hide");
|
progressIndicator.classList.add("hide");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user