diff --git a/assets/scripts/test.coffee b/assets/scripts/test.coffee index 130a3d1..ffcfe32 100644 --- a/assets/scripts/test.coffee +++ b/assets/scripts/test.coffee @@ -32,11 +32,10 @@ fetchTestBenchmarkResults = (testId, benchmarkId) -> for result in resultData avg_total += result.avgScore - min_total += result.minScore - max_total += result.maxScore + min_total += result.minScore if result.minScore + max_total += result.maxScore if result.maxScore tableRow = $("#results-table tr[data-benchmark-id=#{benchmarkId}]") - tableRow.empty() tableRow.append('