Skip to content

Commit

Permalink
Fix for log display in UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
tblock79 committed Jul 23, 2024
1 parent b41e32f commit b0381f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1-beta.4
0.3.1-beta.5
9 changes: 5 additions & 4 deletions webinterface/templates/queue.html
Original file line number Diff line number Diff line change
Expand Up @@ -953,12 +953,13 @@ <h5 class="title is-5 configtitle" style="margin-top: 60px;"><i
},
success: function (data) {
if (data && data.length > 0) {
$("#process_logs_display").text("");
var logText = "";
for (var i = 0; i < data.length; i++) {
$("#process_logs_display").append("### Module " + (i+1).toString() + " -- Begin\n\n");
$("#process_logs_display").append(data[i].logs);
$("#process_logs_display").append("\n### Module " + (i+1).toString() + " -- Complete\n\n");
logText += "### Module " + (i+1).toString() + " -- Begin\n\n";
logText += data[i].logs;
logText += "\n### Module " + (i+1).toString() + " -- Complete\n\n";
}
$("#process_logs_display").text(logText);
} else {
$("#process_logs_display").text("No processing log available for selected task.")
}
Expand Down

0 comments on commit b0381f5

Please sign in to comment.