1
0
mirror of https://github.com/ClusterCockpit/cc-backend synced 2025-04-03 18:55:55 +02:00

Add missing rounding func

This commit is contained in:
Christoph Kluge 2024-02-09 17:06:46 +01:00
parent 2036069051
commit c897c8e56b

@ -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)
}
}