mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-18 14:00:33 +00:00
Fix wrong joblist additions.
This commit is contained in:
parent
76fcb01186
commit
d420b80ac5
@ -24,7 +24,8 @@ class JobList extends List {
|
||||
pathArray = operation.path.split("/").slice(1);
|
||||
switch(operation.op) {
|
||||
case "add":
|
||||
if (pathArray[1] === "results") {break;}
|
||||
console.log(pathArray);
|
||||
if (pathArray[1].includes("results")) {break;}
|
||||
this.addJob(operation.value);
|
||||
this.update();
|
||||
List.updatePagination(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user