From 80427dd1278cbd0f603e68e2ff9b33d4074313fa Mon Sep 17 00:00:00 2001 From: Alan Buscaglia Date: Fri, 5 Dec 2025 13:20:20 +0100 Subject: [PATCH] fix(ui): show raw Risk Score percentage without rounding --- .../_new-overview/graphs-tabs/risk-plot/risk-plot-client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/(prowler)/_new-overview/graphs-tabs/risk-plot/risk-plot-client.tsx b/ui/app/(prowler)/_new-overview/graphs-tabs/risk-plot/risk-plot-client.tsx index 5ab32d01ad..96b72078cb 100644 --- a/ui/app/(prowler)/_new-overview/graphs-tabs/risk-plot/risk-plot-client.tsx +++ b/ui/app/(prowler)/_new-overview/graphs-tabs/risk-plot/risk-plot-client.tsx @@ -109,7 +109,7 @@ const CustomTooltip = ({ active, payload }: TooltipProps) => { const data = payload[0].payload; const riskColor = getRiskScoreColor(data.x); // Convert Risk Score (0-10) to percentage (0-100) for display - const riskScorePercentage = Math.round(data.x * 10); + const riskScorePercentage = data.x * 10; return (