diff --git a/app/static/js/RessourceDisplays/CorpusDisplay.js b/app/static/js/RessourceDisplays/CorpusDisplay.js index d1c94464..af4da56a 100644 --- a/app/static/js/RessourceDisplays/CorpusDisplay.js +++ b/app/static/js/RessourceDisplays/CorpusDisplay.js @@ -89,7 +89,7 @@ class CorpusDisplay extends RessourceDisplay { } elements = this.displayElement.querySelectorAll('.corpus-status'); for (let element of elements) { - element.dataset.corpusStatus = status; + element.dataset.status = status; } elements = this.displayElement.querySelectorAll('.corpus-status-spinner'); for (let element of elements) { diff --git a/app/static/js/RessourceDisplays/JobDisplay.js b/app/static/js/RessourceDisplays/JobDisplay.js index d6669450..03c5601b 100644 --- a/app/static/js/RessourceDisplays/JobDisplay.js +++ b/app/static/js/RessourceDisplays/JobDisplay.js @@ -74,7 +74,7 @@ class JobDisplay extends RessourceDisplay { setStatus(status) { let elements = this.displayElement.querySelectorAll('.job-status'); for (let element of elements) { - element.dataset.jobStatus = status; + element.dataset.status = status; } elements = this.displayElement.querySelectorAll('.job-status-spinner'); for (let element of elements) {