fix: statusPageMonitor removal of infrastructureMonitors[]
This commit is contained in:
1 parent
115fcc67f6
commit
5a12105c3d
3 files changed
+9
-11
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user