Skip to content
Snippets Groups Projects
Commit e240bf78 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Show prepare button if status switches to failed.

parent ddeee1fd
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment