diff options
Diffstat (limited to 'lib/evaluation/table/evaluation-columns.tsx')
| -rw-r--r-- | lib/evaluation/table/evaluation-columns.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/evaluation/table/evaluation-columns.tsx b/lib/evaluation/table/evaluation-columns.tsx index e88c5764..4b7d9a80 100644 --- a/lib/evaluation/table/evaluation-columns.tsx +++ b/lib/evaluation/table/evaluation-columns.tsx @@ -263,7 +263,7 @@ export function getPeriodicEvaluationsColumns({setRowAction}: GetColumnsProps): cell: ({ row }) => { const finalScore = row.getValue<number>("finalScore"); return finalScore ? ( - <span className="font-bold text-green-600">{finalScore.toFixed(1)}</span> + <span className="font-bold text-green-600">{Number(finalScore).toFixed(1)}</span> ) : ( <span className="text-muted-foreground">-</span> ); |
