Skip to content

Commit a70460a

Browse files
authored
Merge pull request #6901 from msupply-foundation/6617-remove-decimal-values-demographics
6617 Floor calculated population count
2 parents 7f785ff + 9a84cb4 commit a70460a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/system/src/IndicatorsDemographics/DetailView/PopulationColumn.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const PopulationCell = (props: CellProps<Row>) => (
1818

1919
export const populationColumn = (): ColumnDefinition<Row> => ({
2020
label: 'label.current-population',
21-
accessor: ({ rowData }) => rowData[0],
21+
accessor: ({ rowData }) => Math.floor(rowData[0]),
2222
key: '0',
2323
Cell: PopulationCell,
2424
width: 190,

0 commit comments

Comments
 (0)