fix: statusPageMonitor removal of infrastructureMonitors[]

This commit is contained in:
mannilakash committed 2026-03-18 17:02:17 -04:00
1 parent 115fcc67f6
commit 5a12105c3d
3 files changed
+9 -11

No files matched your search

+1 -2
View File
@@ -29,11 +29,10 @@ const StatusPageView = () => {
const statusPage = data?.statusPage;
const monitors = data?.monitors ?? [];
const infrastructureMonitors = data?.infrastructureMonitors ?? [];
if (!statusPage) return null;
if (monitors?.length === 0 && infrastructureMonitors?.length === 0) {
if (monitors.length === 0) {
return (
<BasePage
loading={isLoading}