Skip to content

Commit

Permalink
return the value as it is
Browse files Browse the repository at this point in the history
  • Loading branch information
brettedw committed Feb 16, 2024
1 parent fe6eaf8 commit b59e855
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class GridComponentRenderer {
// we can leave it blank, so it's obvious that it can have a value entered into it.
if (isNaN(value) && !isPreviousDate && isForecastColumn && !rowContainsActual) {
return ''
} else return isNaN(value) ? noDataField : value.toFixed(precision)
} else return isNaN(value) ? noDataField : value
}

public renderForecastCellWith = (params: Pick<GridRenderCellParams, 'row' | 'formattedValue'>, field: string) => {
Expand Down

0 comments on commit b59e855

Please sign in to comment.