mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-20 16:39:07 -05:00
update empty view message for Infra monitors
This commit is contained in:
@@ -51,22 +51,22 @@ const InfrastructureDetails = () => {
|
||||
);
|
||||
}
|
||||
|
||||
// if (!isLoading && monitor?.stats?.checks?.length === 0) {
|
||||
// return (
|
||||
// <Stack gap={theme.spacing(10)}>
|
||||
// <Breadcrumbs list={BREADCRUMBS} />
|
||||
// <MonitorStatusHeader
|
||||
// path={"infrastructure"}
|
||||
// isAdmin={false}
|
||||
// shouldRender={!isLoading}
|
||||
// monitor={monitor}
|
||||
// />
|
||||
// <GenericFallback>
|
||||
// <Typography>No data found for this monitor</Typography>
|
||||
// </GenericFallback>
|
||||
// </Stack>
|
||||
// );
|
||||
// }
|
||||
if (!isLoading && monitor?.stats?.checks?.length === 0) {
|
||||
return (
|
||||
<Stack gap={theme.spacing(10)}>
|
||||
<Breadcrumbs list={BREADCRUMBS} />
|
||||
<MonitorStatusHeader
|
||||
path={"infrastructure"}
|
||||
isAdmin={false}
|
||||
shouldRender={!isLoading}
|
||||
monitor={monitor}
|
||||
/>
|
||||
<GenericFallback>
|
||||
<Typography>No check history for htis monitor yet.</Typography>
|
||||
</GenericFallback>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<Stack gap={theme.spacing(10)}>
|
||||
|
||||
Reference in New Issue
Block a user