diff --git a/src/world_intel_mcp/dashboard/index.html b/src/world_intel_mcp/dashboard/index.html index 658d156..cef2c31 100644 --- a/src/world_intel_mcp/dashboard/index.html +++ b/src/world_intel_mcp/dashboard/index.html @@ -1275,8 +1275,10 @@ function updateHudStats(data) { pills.push('
' + ((data.cyber_threats.threats || []).length) + 'Cyber IOC
'); } if (data.wildfires && !data.wildfires.error) { - var fc = data.wildfires.total_fires || 0; - pills.push('
' + fc + 'Fires
'); + var fbr = data.wildfires.fires_by_region || {}; + var fireClusterCount = 0; + for (var rr in fbr) { if (fbr.hasOwnProperty(rr)) fireClusterCount += (fbr[rr].top_clusters || []).length; } + pills.push('
' + fireClusterCount + 'Fires
'); } if (data.displacement && !data.displacement.error && data.displacement.global_totals) { pills.push('
' + fmtBigPlain(data.displacement.global_totals.grand_total || 0) + 'Displaced
');