From 9d7f6ec2c5fd8576c0aa6dfa0e55c7b3db6bebf9 Mon Sep 17 00:00:00 2001 From: Arne Tarara Date: Thu, 4 Jan 2024 17:38:28 +0100 Subject: [PATCH] Fix: Waiting time calculation in status --- frontend/js/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/status.js b/frontend/js/status.js index 31015a39e..c11cea553 100644 --- a/frontend/js/status.js +++ b/frontend/js/status.js @@ -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,