diff --git a/app/templates/corpora/corpus.html.j2 b/app/templates/corpora/corpus.html.j2
index b1156a6c..b6058be5 100644
--- a/app/templates/corpora/corpus.html.j2
+++ b/app/templates/corpora/corpus.html.j2
@@ -7,7 +7,20 @@
{{ corpus.title }}
{{ corpus.description }}
-
+
+
@@ -150,8 +163,12 @@
}
setStatus(status) {
- let analyseBtn, statusElement;
+ let analyseBtn, progressIndicator, statusElement;
+ if (status != "preparable" && status != "preparing") {
+ progressIndicator = document.getElementById("progress-indicator");
+ progressIndicator.classList.add("hide");
+ }
statusElement = document.getElementById("status");
statusElement.dataset.status = status;
analyseBtn = document.getElementById('analyse');