Skip to content

Commit

Permalink
load the latest run
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Oct 9, 2023
1 parent 7ced844 commit 4933929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@
xhr.send();
}

load("latest");

// enable loading of old runs
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
Expand All @@ -299,6 +297,8 @@
return;
}
var s = document.createElement("select");
// load the latest run
load(xhr.response[xhr.response.length-1]);
xhr.response.reverse().forEach(function(el) {
var opt = document.createElement("option");
opt.innerHTML = el.replace("logs_", "");
Expand Down

0 comments on commit 4933929

Please sign in to comment.