Fix undefined JobList error

This commit is contained in:
Stephan Porada 2019-10-23 11:23:06 +02:00
parent afac42464a
commit bf4b9808c3

View File

@ -24,6 +24,7 @@ class JobList extends List {
pathArray = operation.path.split("/").slice(1);
switch(operation.op) {
case "add":
if (pathArray[1] === "results") {break;}
this.addJob(operation.value);
this.update();
List.updatePagination(this);