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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix(ui): make anomalies fetch resilient to failures
rcourtmanf8e42990b77c
diff --git a/frontend-modern/src/components/shared/AIOverviewTable.tsx b/frontend-modern/src/components/shared/AIOverviewTable.tsxindex cb997e7241..8418572493 100644--- a/frontend-modern/src/components/shared/AIOverviewTable.tsx+++ b/frontend-modern/src/components/shared/AIOverviewTable.tsx@@ -58,16 +58,23 @@ export const AIOverviewTable: Component<{ showWhenEmpty?: boolean }> = (props) =setLoading(true);setError('');try {- const [predResp, corrResp, remResp, changesResp, anomalyResp] = await Promise.all([+ // Fetch all Pro features together+ const [predResp, corrResp, remResp, changesResp] = await Promise.all([AIAPI.getPredictions(),AIAPI.getCorrelations(),AIAPI.getRemediations({ hours: 168, limit: 6 }),AIAPI.getRecentChanges(24),- AIAPI.getAnomalies(),]);- // Handle anomalies (FREE - no license required)- setAnomalies(anomalyResp.anomalies || []);+ // Fetch anomalies separately (FREE feature - don't let failures break Pro features)+ try {+ const anomalyResp = await AIAPI.getAnomalies();+ setAnomalies(anomalyResp.anomalies || []);+ } catch {+ // Anomalies endpoint may fail if patrol not initialized - that's OK+ setAnomalies([]);+ }+// Handle insights lockconst insightsLockedState = Boolean(predResp.license_required || corrResp.license_required);