Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Polish: Use strong types in App and CompleteStep

rcourtmana00a614f3faf
diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsx
index de6a44d02d..60d01550b2 100644
--- a/frontend-modern/src/App.tsx
+++ b/frontend-modern/src/App.tsx
@@ -1136,7 +1136,7 @@ function AppLayout(props: {
const utilityTabs = createMemo(() => {
const allAlerts = props.state().activeAlerts || [];
const breakdown = allAlerts.reduce(
- (acc, alert: any) => {
+ (acc, alert: Alert) => {
if (alert?.acknowledged) return acc;
const level = String(alert?.level || '').toLowerCase();
if (level === 'critical') {