OG T
|
be8ed1f7ba
|
fix(web): resolve interface mismatch + add defensive null checks
- P0/P1/P2 now map to 'alert' status (was P0/P1 only)
- Tier mapping: P0=Tier3, P1=Tier2, P2=Tier1
- Added null/undefined guards in mapToDualState()
- Optional chaining on incidents array access
- Safe fallback for missing serviceName, message, timestamp
Fixes frontend warroom showing no cards despite API returning data.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-03-23 12:17:58 +08:00 |
|