mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-22 06:31:15 +01:00
Fix min/max response time issue caused by previous commit
This commit is contained in:
parent
16229592a2
commit
9cdef02bdc
@ -53,7 +53,7 @@ export default {
|
||||
let minResponseTime = null;
|
||||
let maxResponseTime = null;
|
||||
for (let i in this.data.results) {
|
||||
const responseTime = (this.data.results[i].duration/1000000).toFixed(0);
|
||||
const responseTime = parseInt((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
Loading…
Reference in New Issue
Block a user