diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-13 17:52:38 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-13 17:52:38 -0700 |
commit | f3024c900dffe7668b294054ee9a0345696769db (patch) | |
tree | 95226532e8b825fc741b928c1898a851530c4c91 /modern/src/common | |
parent | 6ef7e13621d746482ad906955675541fdd7f0705 (diff) | |
download | etbsa-traccar-web-f3024c900dffe7668b294054ee9a0345696769db.tar.gz etbsa-traccar-web-f3024c900dffe7668b294054ee9a0345696769db.tar.bz2 etbsa-traccar-web-f3024c900dffe7668b294054ee9a0345696769db.zip |
Implement status popup
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/formatter.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/common/formatter.js b/modern/src/common/formatter.js index ce46c6c..50841e1 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; |