From d420b80ac58e182829e28eac0f2a800b1f56b687 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 7 Nov 2019 11:06:16 +0100 Subject: [PATCH] Fix wrong joblist additions. --- app/static/js/JobList.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);