fix: page crash when wrong id configured
This commit is contained in:
1 parent
e87e350d6d
commit
78f9f1ee34
2 files changed
+3
-3
No files matched your search
@@ -72,7 +72,7 @@ export default function OverallStatus({
|
||||
}))
|
||||
|
||||
const upcomingMaintenances: (Omit<MaintenanceConfig, 'monitors'> & {
|
||||
monitors?: MonitorTarget[]
|
||||
monitors?: (MonitorTarget | undefined)[]
|
||||
})[] = maintenances
|
||||
.filter((m) => now < new Date(m.start))
|
||||
.map((maintenance) => ({
|
||||
|
||||
Reference in new issue
Block a user