small fix

This commit is contained in:
Patrick Jentsch 2020-02-12 16:42:46 +01:00
parent 0f7df4fd3b
commit 0ea03983d6

View File

@ -233,7 +233,6 @@
</tr>`
);
}
M.Collapsible.getInstance(document.getElementById("job-list")).open(1);
}
setStatus(status) {
@ -241,6 +240,7 @@
if (status === "complete") {
progressIndicator = document.getElementById("progress-indicator");
progressIndicator.classList.add("hide");
M.Collapsible.getInstance(document.getElementById("job-list")).open(1);
}
statusElement = document.getElementById("status");
statusElement.dataset.status = status;