diff --git a/app/static/js/JobList.js b/app/static/js/JobList.js index a398c23b..e3533171 100644 --- a/app/static/js/JobList.js +++ b/app/static/js/JobList.js @@ -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);