modify dashboard and services fetch source data

This commit is contained in:
pcalengratha
2026-04-08 14:48:42 +07:00
parent f0a5079b15
commit 4534f502e2
9 changed files with 1322 additions and 241 deletions

View File

@@ -140,7 +140,6 @@ function renderProvinceHeatmap(rows) {
const total = totals[province]?.total || 0;
const positive = totals[province]?.positive || 0;
// ✅ positivity kept
const percent = total
? ((positive / total) * 100).toFixed(1)
: 0;