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(frontend): resolve TypeScript errors causing CI failures
rcourtman83790a4bfce7
diff --git a/frontend-modern/src/components/Backups/UnifiedBackups.tsx b/frontend-modern/src/components/Backups/UnifiedBackups.tsxindex fff4517078..e4b7fce7f5 100644--- a/frontend-modern/src/components/Backups/UnifiedBackups.tsx+++ b/frontend-modern/src/components/Backups/UnifiedBackups.tsx@@ -158,7 +158,7 @@ const UnifiedBackups: Component = () => {}});- const [useRelativeTime, setUseRelativeTime] = createLocalStorageBooleanSignal(+ const [useRelativeTime] = createLocalStorageBooleanSignal(STORAGE_KEYS.BACKUPS_USE_RELATIVE_TIME,false, // Default to absolute time);diff --git a/frontend-modern/src/components/Backups/__tests__/PBSEnhancementBanner.test.ts b/frontend-modern/src/components/Backups/__tests__/PBSEnhancementBanner.test.tsindex 31f39ae06f..08f6c6ba30 100644--- a/frontend-modern/src/components/Backups/__tests__/PBSEnhancementBanner.test.ts+++ b/frontend-modern/src/components/Backups/__tests__/PBSEnhancementBanner.test.ts@@ -1,5 +1,5 @@import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';-import { render, screen, waitFor, fireEvent, cleanup } from '@solidjs/testing-library';+import { cleanup } from '@solidjs/testing-library';import { createStore } from 'solid-js/store';// We need to test the PBS enhancement banner logic@@ -197,8 +197,8 @@ describe('PBS Backup Data Source Indicator', () => {});it('should NOT show "via PVE" for non-PBS backups', () => {- const backup = {- backupType: 'local' as const,+ const backup: { backupType: 'local' | 'remote'; storage: string; datastore: null } = {+ backupType: 'local',storage: 'local-lvm',datastore: null,};