aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/StopReportPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-03 09:41:20 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-03 09:41:20 -0700
commit6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a (patch)
treeedd24c732d6439e6fb3c03f021d9f0842468d474 /modern/src/reports/StopReportPage.js
parent105e4ec887e249ec47db83095504012bad22df80 (diff)
downloadetbsa-traccar-web-6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a.tar.gz
etbsa-traccar-web-6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a.tar.bz2
etbsa-traccar-web-6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a.zip
Finish migrations
Diffstat (limited to 'modern/src/reports/StopReportPage.js')
-rw-r--r--modern/src/reports/StopReportPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/StopReportPage.js b/modern/src/reports/StopReportPage.js
index 318507e..aa668d5 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 (