update empty view message for Infra monitors
This commit is contained in:
1 parent
9d2a18b675
commit
cdce6b95cc
1 file changed
+16
-16
@@ -51,22 +51,22 @@ const InfrastructureDetails = () => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (!isLoading && monitor?.stats?.checks?.length === 0) {
|
if (!isLoading && monitor?.stats?.checks?.length === 0) {
|
||||||
// return (
|
return (
|
||||||
// <Stack gap={theme.spacing(10)}>
|
<Stack gap={theme.spacing(10)}>
|
||||||
// <Breadcrumbs list={BREADCRUMBS} />
|
<Breadcrumbs list={BREADCRUMBS} />
|
||||||
// <MonitorStatusHeader
|
<MonitorStatusHeader
|
||||||
// path={"infrastructure"}
|
path={"infrastructure"}
|
||||||
// isAdmin={false}
|
isAdmin={false}
|
||||||
// shouldRender={!isLoading}
|
shouldRender={!isLoading}
|
||||||
// monitor={monitor}
|
monitor={monitor}
|
||||||
// />
|
/>
|
||||||
// <GenericFallback>
|
<GenericFallback>
|
||||||
// <Typography>No data found for this monitor</Typography>
|
<Typography>No check history for htis monitor yet.</Typography>
|
||||||
// </GenericFallback>
|
</GenericFallback>
|
||||||
// </Stack>
|
</Stack>
|
||||||
// );
|
);
|
||||||
// }
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack gap={theme.spacing(10)}>
|
<Stack gap={theme.spacing(10)}>
|
||||||
|
|||||||
Reference in new issue
Block a user