diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-24 08:44:14 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-24 08:44:14 -0700 |
commit | 5db441f8578a8dcbb52f824329946e49c6e95a8e (patch) | |
tree | 23fbf804a6cab5d7fac04fdced9d202a4469fec7 /modern/src/common | |
parent | 6be52083821198a8f980c29be987f71898b6b4c6 (diff) | |
download | trackermap-web-5db441f8578a8dcbb52f824329946e49c6e95a8e.tar.gz trackermap-web-5db441f8578a8dcbb52f824329946e49c6e95a8e.tar.bz2 trackermap-web-5db441f8578a8dcbb52f824329946e49c6e95a8e.zip |
Fix volume unit issue (fix #940)
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/util/converter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/util/converter.js b/modern/src/common/util/converter.js index 61e2dfe6..559e68aa 100644 --- a/modern/src/common/util/converter.js +++ b/modern/src/common/util/converter.js @@ -66,7 +66,7 @@ const volumeConverter = (unit) => { } }; -export const volumeUnitString = (value, unit, t) => { +export const volumeUnitString = (unit, t) => { switch (unit) { case 'impGal': return t('sharedGallonAbbreviation'); |