+ {incidents.length === 0 ? (
+
+ No incidents recorded.
+
+ ) : (
+ incidents.map((incident, i) => {
+ const isOpen = incident.status === "open"
+ return (
+
0 ? "1px solid #F0EEEA" : undefined,
+ }}
+ >
+
+
+
+
+
+
+ {incident.site?.name}
+
+
+ {incident.status}
+
+
+ {incident.check?.error && (
+
+ {incident.check.error}
+
+ )}
+
+ {formatIncidentRange(
+ incident.opened_at,
+ incident.resolved_at
+ )}
+
+
+
+ )
+ })
+ )}
+
+