1
0
mirror of https://github.com/tormachris/cf-workers-status-page.git synced 2025-08-03 19:25:15 +02:00

chore: readme collectResponseTimes example

This commit is contained in:
Adam Janis
2020-11-22 15:40:28 +01:00
parent c5eb49cf01
commit 3ed15409b5
5 changed files with 20 additions and 8 deletions

View File

@ -39,7 +39,8 @@ export default function MonitorHistogram({ monitorId, kvMonitor }) {
<span className="font-semibold text-sm">
{dayInHistogramLabel}
</span>
{kvMonitor && kvMonitor.checks.hasOwnProperty(dayInHistogram) &&
{kvMonitor &&
kvMonitor.checks.hasOwnProperty(dayInHistogram) &&
Object.keys(kvMonitor.checks[dayInHistogram].res).map((key) => {
return (
<>