Merge pull request #1682 from bluewave-labs/fix/fe/empty-view-message

fix: fe/empty view message, resolves #
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-02-01 08:02:04 -08:00
commit 7a162d8f08
3 files changed
+18 -18

No files matched your search

@@ -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)}>
+1 -1
View File
@@ -70,7 +70,7 @@ const PageSpeedDetails = () => {
monitor={monitor} monitor={monitor}
/> />
<GenericFallback> <GenericFallback>
<Typography>There is no history for this monitor yet.</Typography> <Typography>There is no check history for this monitor yet.</Typography>
</GenericFallback> </GenericFallback>
</Stack> </Stack>
); );
+1 -1
View File
@@ -90,7 +90,7 @@ const UptimeDetails = () => {
monitor={monitor} monitor={monitor}
/> />
<GenericFallback> <GenericFallback>
<Typography>There is no history for this monitor yet.</Typography> <Typography>There is no check history for this monitor yet.</Typography>
</GenericFallback> </GenericFallback>
</Stack> </Stack>
); );