diff --git a/web/src/features/moreCast2/components/GridComponentRenderer.tsx b/web/src/features/moreCast2/components/GridComponentRenderer.tsx index 216de394c..dc93f8116 100644 --- a/web/src/features/moreCast2/components/GridComponentRenderer.tsx +++ b/web/src/features/moreCast2/components/GridComponentRenderer.tsx @@ -162,7 +162,7 @@ export class GridComponentRenderer { precision: number ) => { const oldValue = params.row[field].value - const newValue = params.value ? Number(params.value) : NaN + const newValue = isNaN(params.value) ? NaN : Number(params.value) if (isNaN(oldValue) && isNaN(newValue)) { return { ...params.row }