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
Polish: Use strong types in FirstRunSetup
rcourtman17b8f5aefb8c
diff --git a/frontend-modern/src/components/FirstRunSetup.tsx b/frontend-modern/src/components/FirstRunSetup.tsxindex 4e8923ec47..8f511ed7d5 100644--- a/frontend-modern/src/components/FirstRunSetup.tsx+++ b/frontend-modern/src/components/FirstRunSetup.tsx@@ -7,7 +7,9 @@ import { getPulseBaseUrl } from '@/utils/url';import { SectionHeader } from '@/components/shared/SectionHeader';import { showTokenReveal } from '@/stores/tokenReveal';import type { APITokenRecord } from '@/api/security';+import type { APITokenRecord } from '@/api/security';import { STORAGE_KEYS } from '@/utils/localStorage';+import type { SecurityStatus } from '@/types/config';export const FirstRunSetup: Component<{ force?: boolean; showLegacyBanner?: boolean }> = (props,@@ -72,7 +74,7 @@ export const FirstRunSetup: Component<{ force?: boolean; showLegacyBanner?: bool// Fetch bootstrap token path from APItry {- const data = await apiFetchJSON<any>('/api/security/status');+ const data = await apiFetchJSON<SecurityStatus>('/api/security/status');if (data.bootstrapTokenPath) {setBootstrapTokenPath(data.bootstrapTokenPath);setIsDocker(data.isDocker || false);