diff --git a/frontend/src/components/pages/CompliancePage.js b/frontend/src/components/pages/CompliancePage.js index c9bb8da..2322da7 100644 --- a/frontend/src/components/pages/CompliancePage.js +++ b/frontend/src/components/pages/CompliancePage.js @@ -93,6 +93,7 @@ function groupByMetricFamily(allEntries, team) { function VariantPill({ entry, label }) { const color = statusColor(entry.status); const isOk = entry.status === 'Meets/Exceeds Target'; + const hasRawCounts = entry.compliant != null && entry.total != null && entry.total > 0; return ( {label}} {pctDisplay(entry.compliance_pct)} + {hasRawCounts && ( + ({entry.compliant}/{entry.total}) + )} ); }