diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-03 09:41:20 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-03 09:41:20 -0700 |
commit | 6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a (patch) | |
tree | edd24c732d6439e6fb3c03f021d9f0842468d474 /modern/src/settings/MaintenancesPage.js | |
parent | 105e4ec887e249ec47db83095504012bad22df80 (diff) | |
download | trackermap-web-6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a.tar.gz trackermap-web-6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a.tar.bz2 trackermap-web-6ac6ceaed16b2ae5ef58ba599d24a868ac2f816a.zip |
Finish migrations
Diffstat (limited to 'modern/src/settings/MaintenancesPage.js')
-rw-r--r-- | modern/src/settings/MaintenancesPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/settings/MaintenancesPage.js b/modern/src/settings/MaintenancesPage.js index a59a24e1..89b0279e 100644 --- a/modern/src/settings/MaintenancesPage.js +++ b/modern/src/settings/MaintenancesPage.js @@ -41,9 +41,9 @@ const MaintenancesView = ({ updateTimestamp, onMenuClick }) => { if (attribute && attribute.dataType) { switch (attribute.dataType) { case 'speed': - return formatSpeed(value, speedUnit); + return formatSpeed(value, speedUnit, t); case 'distance': - return formatDistance(value, distanceUnit); + return formatDistance(value, distanceUnit, t); default: return value; } |