Fix Ressource Displays to show status again

This commit is contained in:
Patrick Jentsch 2023-01-10 10:01:54 +01:00
parent ecea33ffa9
commit 0222a1f16e
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {