Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring
TypeScript diagramhomelabhomelab-infrastructure-observabilitynetworkproxmox-veself-hostedzigbeezwavezwave-js
fix(icons): narrow ICON_MAP lookup type for strict build
Pouzor928f63df0f78
diff --git a/frontend/src/utils/nodeIcons.ts b/frontend/src/utils/nodeIcons.tsindex 9ec55b0..c781d0a 100644--- a/frontend/src/utils/nodeIcons.ts+++ b/frontend/src/utils/nodeIcons.ts@@ -218,6 +218,6 @@ export function resolveCustomIcon(customIconKey?: string): ResolvedIcon | null {const slug = brandIconSlug(customIconKey)return { kind: 'brand', slug, url: brandIconUrl(slug) }}- const icon = ICON_MAP[customIconKey]+ const icon = ICON_MAP[customIconKey] as LucideIcon | undefinedreturn icon ? { kind: 'lucide', icon } : null}