Compare commits
2 Commits
3dc735722d
...
5b2811fd86
| Author | SHA1 | Date | |
|---|---|---|---|
| 5b2811fd86 | |||
| e51c6ba810 |
@@ -122,7 +122,7 @@ export default function TopChartTable({
|
|||||||
return <td key={categoryIndex}>-</td>;
|
return <td key={categoryIndex}>-</td>;
|
||||||
}
|
}
|
||||||
|
|
||||||
const shouldFillCell = fillCAGR && cagrRow && rowTotal !== null && roundedValue > rowTotal + 5;
|
const shouldFillCell = fillCAGR && cagrRow && rowTotal !== null && roundedValue >= rowTotal + 5;
|
||||||
return <td key={categoryIndex} className={cn(shouldFillCell ? "bg-red-200" : "")}>{roundedValue.toLocaleString()}</td>;
|
return <td key={categoryIndex} className={cn(shouldFillCell ? "bg-red-200" : "")}>{roundedValue.toLocaleString()}</td>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user