diff options
author | Abyss777 <abyss@fox5.ru> | 2017-05-23 10:35:07 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-05-23 10:35:07 +0500 |
commit | 6d225a8243ce0fc8a0601fd40fb7a5dca250ee3d (patch) | |
tree | 056f7284d1f40e3d530136d71f7375d7eca980da /web/app | |
parent | f846af4faa6149f8bb301ae4bc28117f24c9b7af (diff) | |
download | trackermap-web-6d225a8243ce0fc8a0601fd40fb7a5dca250ee3d.tar.gz trackermap-web-6d225a8243ce0fc8a0601fd40fb7a5dca250ee3d.tar.bz2 trackermap-web-6d225a8243ce0fc8a0601fd40fb7a5dca250ee3d.zip |
Revert distance as key for getFormatter
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/AttributeFormatter.js | 2 |
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; |