Commit da5cabd
committed
fix(overview): fix undefined roundedValue in ThreatScore tooltip
Fix ReferenceError where roundedValue was used but not defined in
convertSectionScoresToTooltipData function. Changed to use the
correct value parameter from the map function.
Also replaced inline style props with Tailwind utility classes
(min-w-4 min-h-4) for icon sizing.
Note: CSS variables from globals.css are required for RadialChart
component as Recharts library needs actual color values.1 parent 151c509 commit da5cabd
File tree
1 file changed
+5
-5
lines changed- ui/app/(prowler)/new-overview/components/threat-score
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
169 | | - | |
170 | | - | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments