fix(ui): remove rounding from Risk Score conversion to preserve decimals

This commit is contained in:
Alan Buscaglia
2025-12-05 13:22:34 +01:00
parent 80427dd127
commit a81293d2ea
@@ -14,7 +14,7 @@ function convertToRiskScore(overallScore: number | null): number {
if (overallScore === null) return 0;
// ThreatScore is 0-100, we need 0-10
// Higher = better in both scales
return Math.round((overallScore / 10) * 10) / 10;
return overallScore / 10;
}
/**