aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-23 19:37:52 +1200
committerGitHub <noreply@github.com>2017-05-23 19:37:52 +1200
commitf4b6d4d46dd8378c2d50d82a6a6c2293fcb796ec (patch)
tree056f7284d1f40e3d530136d71f7375d7eca980da /web
parentf846af4faa6149f8bb301ae4bc28117f24c9b7af (diff)
parent6d225a8243ce0fc8a0601fd40fb7a5dca250ee3d (diff)
downloadtrackermap-web-f4b6d4d46dd8378c2d50d82a6a6c2293fcb796ec.tar.gz
trackermap-web-f4b6d4d46dd8378c2d50d82a6a6c2293fcb796ec.tar.bz2
trackermap-web-f4b6d4d46dd8378c2d50d82a6a6c2293fcb796ec.zip
Merge pull request #492 from Abyss777/format_distance
Revert distance as key for getFormatter
Diffstat (limited to 'web')
-rw-r--r--web/app/AttributeFormatter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js
index ecab9fdb..83d310c3 100644
--- a/web/app/AttributeFormatter.js
+++ b/web/app/AttributeFormatter.js
@@ -96,7 +96,7 @@ Ext.define('Traccar.AttributeFormatter', {
return this.speedFormatter;
} else if (key === 'course') {
return this.courseFormatter;
- } else if (key === 'accuracy') {
+ } else if (key === 'distance' || key === 'accuracy') {
return this.distanceFormatter;
} else if (key === 'hours') {
return this.hoursFormatter;