mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Show prepare button if status switches to failed.
This commit is contained in:
parent
ddeee1fd49
commit
e240bf7860
@ -147,7 +147,7 @@
|
|||||||
statusElement.classList.add(CorpusList.STATUS_COLORS[status] || CorpusList.STATUS_COLORS['default']);
|
statusElement.classList.add(CorpusList.STATUS_COLORS[status] || CorpusList.STATUS_COLORS['default']);
|
||||||
statusElement.innerText = status;
|
statusElement.innerText = status;
|
||||||
var analyseBtn = document.getElementById('analyse');
|
var analyseBtn = document.getElementById('analyse');
|
||||||
if (status === 'prepared' || status === 'analysing') {
|
if (status === 'prepared' || status === 'analysing' || status === 'failed') {
|
||||||
analyseBtn.classList.remove('hide', 'disabled');
|
analyseBtn.classList.remove('hide', 'disabled');
|
||||||
} else if (status === 'start analysis' || status === 'stop analysis') {
|
} else if (status === 'start analysis' || status === 'stop analysis') {
|
||||||
analyseBtn.classList.remove('hide');
|
analyseBtn.classList.remove('hide');
|
||||||
|
Loading…
Reference in New Issue
Block a user