Skip to content

Commit

Permalink
Fix: Waiting time calculation in status
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed Jan 4, 2024
1 parent 946a4db commit 9d7f6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/js/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ $(document).ready(function () {
}},
{ data: 9, title: 'Waiting Jobs'},
{ data: 10, title: 'Estimated waiting time', render: function(el, type, row) {
return (row[5] == null || row[7] == null) ? 'awaiting info' : `${Math.round(( (row[7]+row[5]) * row[6]) / 60)} Minutes`
return (row[8] == null || row[10] == null) ? 'awaiting info' : `${Math.round(( (row[8]+row[10]) * row[9]) / 60)} Minutes`
}},
],
deferRender: true,
Expand Down

0 comments on commit 9d7f6ec

Please sign in to comment.