diff --git a/app/templates/corpora/corpus.html.j2 b/app/templates/corpora/corpus.html.j2 index 55002f5e..4c246159 100644 --- a/app/templates/corpora/corpus.html.j2 +++ b/app/templates/corpora/corpus.html.j2 @@ -147,7 +147,7 @@ statusElement.classList.add(CorpusList.STATUS_COLORS[status] || CorpusList.STATUS_COLORS['default']); statusElement.innerText = status; var analyseBtn = document.getElementById('analyse'); - if (status === 'prepared' || status === 'analysing') { + if (status === 'prepared' || status === 'analysing' || status === 'failed') { analyseBtn.classList.remove('hide', 'disabled'); } else if (status === 'start analysis' || status === 'stop analysis') { analyseBtn.classList.remove('hide');