Files
GoClaw/server
bboxwtf 9627318380 fix(nodes): null-safety for ports/labels on Services tab — crash on svc.ports.length when API returns null
- SwarmServiceInfo.ports typed as string[]|null, normalised to [] in listSwarmServices()
- SwarmServiceInfo.labels typed as Record|null, normalised to {} in listSwarmServices()
- NodeInfo.labels typed as |null, normalised via .map() in Nodes.tsx before render
- ServiceRow now uses (svc.ports ?? []).length and .map() — no crash when null
- Image display wrapped in IIFE to avoid double-split problem
- agents/nodes arrays normalised with .map() guards before render
- gateway-proxy.ts: listSwarmServices() deserialises and patches null fields server-side
2026-03-21 21:23:09 +00:00
..
2026-03-20 17:34:20 -04:00
2026-03-20 17:34:20 -04:00
2026-03-20 17:34:20 -04:00
2026-03-20 17:34:20 -04:00