Merge pull request #1682 from bluewave-labs/fix/fe/empty-view-message
fix: fe/empty view message, resolves #
This commit is contained in:
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)}>
|
||||||
|
|||||||
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user