From c897c8e56be3a89f1aa5dfe5f4a1b0533c612e58 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Fri, 9 Feb 2024 17:06:46 +0100 Subject: [PATCH] Add missing rounding func --- web/frontend/src/JobFootprint.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/frontend/src/JobFootprint.svelte b/web/frontend/src/JobFootprint.svelte index 04b03a37..daecb0b5 100644 --- a/web/frontend/src/JobFootprint.svelte +++ b/web/frontend/src/JobFootprint.svelte @@ -44,7 +44,7 @@ const avgs = jm.metric.series.map(jms => jms.statistics.avg) mv = round(mean(avgs), 2) } else { - mv = jm.metric.series[0].statistics.avg + mv = round(jm.metric.series[0].statistics.avg, 2) } }