diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-02 11:09:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-02 11:09:13 -0700 |
commit | edc2e1ceb998f4d5abb9ef61785e1a6009b11ed1 (patch) | |
tree | 3dd53a994c5057e6b292b89bb2f868fb058ba03a | |
parent | 4ccdf309eb6d3c899c629911a3b7df4842e3f35d (diff) | |
download | trackermap-web-edc2e1ceb998f4d5abb9ef61785e1a6009b11ed1.tar.gz trackermap-web-edc2e1ceb998f4d5abb9ef61785e1a6009b11ed1.tar.bz2 trackermap-web-edc2e1ceb998f4d5abb9ef61785e1a6009b11ed1.zip |
Use arrows for course (fix #628)
-rw-r--r-- | modern/src/common/util/formatter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/util/formatter.js b/modern/src/common/util/formatter.js index a743c58b..fadc7788 100644 --- a/modern/src/common/util/formatter.js +++ b/modern/src/common/util/formatter.js @@ -16,7 +16,7 @@ export const formatStatus = (value, t) => t(prefixString('deviceStatus', value)) export const formatAlarm = (value, t) => (value ? t(prefixString('alarm', value)) : ''); export const formatCourse = (value) => { - const courseValues = ['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW']; + const courseValues = ['\u2191', '\u2197', '\u2192', '\u2198', '\u2193', '\u2199', '\u2190', '\u2196']; let normalizedValue = value % 360; if (normalizedValue < 0) { normalizedValue += 360; |