Fix small issue with min/max response times getting floored instead of rounded

This commit is contained in:
TwinProduction 2021-02-12 23:16:23 -05:00
parent 52ad4ee9e5
commit 16229592a2
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ export default {
let minResponseTime = null;
let maxResponseTime = null;
for (let i in this.data.results) {
const responseTime = parseInt(this.data.results[i].duration/1000000);
const responseTime = (this.data.results[i].duration/1000000).toFixed(0);
if (minResponseTime == null || minResponseTime > responseTime) {
minResponseTime = responseTime;
}

File diff suppressed because one or more lines are too long