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 unused variable warnings in AIIntelligence page
rcourtmanfdde0c6b99f5
diff --git a/frontend-modern/src/pages/AIIntelligence.tsx b/frontend-modern/src/pages/AIIntelligence.tsxindex fdc22373ac..84a581426f 100644--- a/frontend-modern/src/pages/AIIntelligence.tsx+++ b/frontend-modern/src/pages/AIIntelligence.tsx@@ -116,8 +116,8 @@ export function AIIntelligence() {const [isTriggeringPatrol, setIsTriggeringPatrol] = createSignal(false);const [selectedRun, setSelectedRun] = createSignal<PatrolRunRecord | null>(null);const [showRunAnalysis, setShowRunAnalysis] = createSignal(false);- const scopeContext = createMemo(() => splitScopeContext(selectedRun()?.scope_context));- const runTokenUsage = createMemo(() => formatTokenUsage(selectedRun()));+ const _scopeContext = createMemo(() => splitScopeContext(selectedRun()?.scope_context));+ const _runTokenUsage = createMemo(() => formatTokenUsage(selectedRun()));const selectedRunFindings = createMemo(() => {aiIntelligenceStore.findingsSignal();const run = selectedRun();@@ -127,7 +127,7 @@ export function AIIntelligence() {const idSet = new Set(run.finding_ids);return aiIntelligenceStore.findings.filter((finding) => idSet.has(finding.id));});- const scopeDrift = createMemo(() => {+ const _scopeDrift = createMemo(() => {const run = selectedRun();if (!run) return null;const scopeIds = run.scope_resource_ids ?? [];