recent checks
This commit is contained in:
1 parent
420ff292d9
commit
5731283c46
12 files changed
+72
-42
No files matched your search
@@ -48,15 +48,15 @@ const PageSpeedDetails = () => {
|
||||
monitorStats={monitorStats}
|
||||
/>
|
||||
<HistogramPageSpeedDetails
|
||||
checks={monitor?.checks || []}
|
||||
checks={monitor?.recentChecks || []}
|
||||
range="day"
|
||||
/>
|
||||
<Stack
|
||||
direction={{ xs: "column", md: "row" }}
|
||||
gap={theme.spacing(10)}
|
||||
>
|
||||
<PiePageSpeed latestCheck={monitor?.checks?.[0]} />
|
||||
<PiePageSpeedLegend latestCheck={monitor?.checks?.[0]} />
|
||||
<PiePageSpeed latestCheck={monitor?.recentChecks?.[0]} />
|
||||
<PiePageSpeedLegend latestCheck={monitor?.recentChecks?.[0]} />
|
||||
</Stack>
|
||||
</BasePage>
|
||||
);
|
||||
|
||||
@@ -208,7 +208,7 @@ export const PageSpeedMonitorsTable = ({
|
||||
return (
|
||||
<Stack alignItems={"center"}>
|
||||
<HistogramPageSpeed
|
||||
checks={row.checks}
|
||||
checks={row.recentChecks}
|
||||
status={row.status}
|
||||
/>
|
||||
</Stack>
|
||||
|
||||
@@ -199,9 +199,9 @@ export const MonitorTable = ({
|
||||
content: t("pages.uptime.table.headers.responseTime"),
|
||||
render: (row) => {
|
||||
if (chartType === "histogram") {
|
||||
return <HistogramResponseTime checks={row.checks} />;
|
||||
return <HistogramResponseTime checks={row.recentChecks} />;
|
||||
} else {
|
||||
return <HeatmapResponseTime checks={row.checks} />;
|
||||
return <HeatmapResponseTime checks={row.recentChecks} />;
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user