From 6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 3 Sep 2021 09:41:20 -0700 Subject: Finish migrations --- modern/src/reports/StopReportPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modern/src/reports/StopReportPage.js') diff --git a/modern/src/reports/StopReportPage.js b/modern/src/reports/StopReportPage.js index 318507ed..aa668d57 100644 --- a/modern/src/reports/StopReportPage.js +++ b/modern/src/reports/StopReportPage.js @@ -50,7 +50,7 @@ const StopReportPage = () => { field: 'startOdometer', type: 'number', width: theme.dimensions.columnWidthNumber, - valueFormatter: ({ value }) => formatDistance(value, distanceUnit), + valueFormatter: ({ value }) => formatDistance(value, distanceUnit, t), }, { headerName: t('positionAddress'), field: 'address', @@ -81,7 +81,7 @@ const StopReportPage = () => { type: 'number', width: theme.dimensions.columnWidthNumber, hide: true, - valueFormatter: ({ value }) => formatVolume(value, volumeUnit), + valueFormatter: ({ value }) => formatVolume(value, volumeUnit, t), }]; return ( -- cgit v1.2.3