aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-24 08:44:14 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-24 08:44:14 -0700
commit5db441f8578a8dcbb52f824329946e49c6e95a8e (patch)
tree23fbf804a6cab5d7fac04fdced9d202a4469fec7 /modern/src
parent6be52083821198a8f980c29be987f71898b6b4c6 (diff)
downloadtrackermap-web-5db441f8578a8dcbb52f824329946e49c6e95a8e.tar.gz
trackermap-web-5db441f8578a8dcbb52f824329946e49c6e95a8e.tar.bz2
trackermap-web-5db441f8578a8dcbb52f824329946e49c6e95a8e.zip
Fix volume unit issue (fix #940)
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/common/util/converter.js2
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');