From 527857f6f6963e5142e0f69213b70a7a2549dbb3 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Wed, 1 Jul 2020 08:44:19 +0200 Subject: [PATCH] Hide progress spinner if a job failed. --- web/app/templates/jobs/job.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/templates/jobs/job.html.j2 b/web/app/templates/jobs/job.html.j2 index e26448a0..5a6a0593 100644 --- a/web/app/templates/jobs/job.html.j2 +++ b/web/app/templates/jobs/job.html.j2 @@ -280,7 +280,7 @@ var options = {page: 5, setStatus(status) { let progressIndicator, statusElements; - if (status === "complete") { + if (status === "complete" || status === "failed") { progressIndicator = document.getElementById("progress-indicator"); progressIndicator.classList.add("hide"); }