Fixed uptime duration calculation, added original response time to chart tooltip for case where only 1 check exists
This commit is contained in:
1 parent
b4b2e3ec56
commit
04e4dc886c
2 files changed
+6
-1
No files matched your search
@@ -39,6 +39,8 @@ export const NormalizeData = (checks, rangeMin, rangeMax) => {
|
||||
|
||||
return normalizedChecks;
|
||||
} else {
|
||||
return checks;
|
||||
return checks.map((check) => {
|
||||
return { ...check, originalResponseTime: check.responseTime };
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user