260331_01_ENH: CAGR 셀 색칠 기준 5초과에서 5이상으로 변경

This commit is contained in:
2026-03-31 08:19:06 +09:00
parent a0ee062899
commit e51c6ba810

View File

@@ -122,7 +122,7 @@ export default function TopChartTable({
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>;
}