Skip to content

Commit

Permalink
viewer: Small bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearcat committed Feb 29, 2024
1 parent 1383ffe commit 0b34d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/templates/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
miscbuttonshtml += "<button id=\"downloadbutton\" class=\"download\" href=\"\" onclick=\"\">Download</button>";

var node_data = data.data;
if (node_data != null) {
if (node_data != null && node_data.runtime != null) {
var runtime = node_data.runtime;
var job = node_data.job_id;
if (node_data.runtime.startsWith("lava") && node_data.job_id != null) {
Expand Down

0 comments on commit 0b34d64

Please sign in to comment.