mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +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');
|
elements = this.displayElement.querySelectorAll('.corpus-status');
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
element.dataset.corpusStatus = status;
|
element.dataset.status = status;
|
||||||
}
|
}
|
||||||
elements = this.displayElement.querySelectorAll('.corpus-status-spinner');
|
elements = this.displayElement.querySelectorAll('.corpus-status-spinner');
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
|
@ -74,7 +74,7 @@ class JobDisplay extends RessourceDisplay {
|
|||||||
setStatus(status) {
|
setStatus(status) {
|
||||||
let elements = this.displayElement.querySelectorAll('.job-status');
|
let elements = this.displayElement.querySelectorAll('.job-status');
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
element.dataset.jobStatus = status;
|
element.dataset.status = status;
|
||||||
}
|
}
|
||||||
elements = this.displayElement.querySelectorAll('.job-status-spinner');
|
elements = this.displayElement.querySelectorAll('.job-status-spinner');
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
|
Loading…
Reference in New Issue
Block a user