mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Fix Ressource Displays to show status again
This commit is contained in:
parent
ecea33ffa9
commit
0222a1f16e
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user