mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-11-03 07:58:31 +00:00
Make JobList class ready for admin view.
This commit is contained in:
1 parent
0ea87de072
commit
b90d6114b0
3 files changed
+5
-5
No files matched your search
@@ -1,11 +1,11 @@
|
||||
class JobList extends List {
|
||||
constructor(idOrElement, options) {
|
||||
constructor(idOrElement, subscriberList, options) {
|
||||
super(idOrElement, options);
|
||||
jobsSubscribers.push(this);
|
||||
subscriberList.push(this);
|
||||
}
|
||||
|
||||
|
||||
_init() {
|
||||
_init(jobs) {
|
||||
for (let [id, job] of Object.entries(jobs)) {
|
||||
this.addJob(job);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user