diff --git a/public/js/admin/audit-analytics.js b/public/js/admin/audit-analytics.js index d68fe1f4..8781807d 100644 --- a/public/js/admin/audit-analytics.js +++ b/public/js/admin/audit-analytics.js @@ -271,9 +271,9 @@ async function renderBusinessIntelligence() { ).length; const projections = [ - { users: '1,000', decisions: Math.round(totalCount * 10), blocks: Math.round(blockedCount * 10), critical: Math.round(highSeverityCount * 10) }, - { users: '10,000', decisions: Math.round(totalCount * 100), blocks: Math.round(blockedCount * 100), critical: Math.round(highSeverityCount * 100) }, - { users: '70,000', decisions: Math.round(totalCount * 700), blocks: Math.round(blockedCount * 700), critical: Math.round(highSeverityCount * 700) } + { users: '1,000', decisions: Math.round(auditData.length * 10), blocks: Math.round(blockedCount * 10), critical: Math.round(highSeverityCount * 10) }, + { users: '10,000', decisions: Math.round(auditData.length * 100), blocks: Math.round(blockedCount * 100), critical: Math.round(highSeverityCount * 100) }, + { users: '70,000', decisions: Math.round(auditData.length * 700), blocks: Math.round(blockedCount * 700), critical: Math.round(highSeverityCount * 700) } ]; projections.forEach(proj => {