aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/formatter.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-13 17:52:38 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-09-13 17:52:38 -0700
commitf3024c900dffe7668b294054ee9a0345696769db (patch)
tree95226532e8b825fc741b928c1898a851530c4c91 /modern/src/common/formatter.js
parent6ef7e13621d746482ad906955675541fdd7f0705 (diff)
downloadtrackermap-web-f3024c900dffe7668b294054ee9a0345696769db.tar.gz
trackermap-web-f3024c900dffe7668b294054ee9a0345696769db.tar.bz2
trackermap-web-f3024c900dffe7668b294054ee9a0345696769db.zip
Implement status popup
Diffstat (limited to 'modern/src/common/formatter.js')
-rw-r--r--modern/src/common/formatter.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/common/formatter.js b/modern/src/common/formatter.js
index ce46c6cf..50841e15 100644
--- a/modern/src/common/formatter.js
+++ b/modern/src/common/formatter.js
@@ -8,6 +8,7 @@ const formatValue = (key, value) => {
case 'longitude':
return value.toFixed(5);
case 'speed':
+ case 'course':
return value.toFixed(1);
default:
return value;