aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-02 16:53:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-02 16:53:56 +1200
commitd4a507f6d0e6c55bdc3eaaac966327acff4f74ba (patch)
tree007fd3d0600329e1c31e66922c39c0b059ba3a40 /web/app/store
parent2617753615e47acb6600a7d551c4f6508f5af91f (diff)
downloadtrackermap-server-d4a507f6d0e6c55bdc3eaaac966327acff4f74ba.tar.gz
trackermap-server-d4a507f6d0e6c55bdc3eaaac966327acff4f74ba.tar.bz2
trackermap-server-d4a507f6d0e6c55bdc3eaaac966327acff4f74ba.zip
Change string id name
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/SpeedUnits.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/store/SpeedUnits.js b/web/app/store/SpeedUnits.js
index 95c7fbc3b..450716039 100644
--- a/web/app/store/SpeedUnits.js
+++ b/web/app/store/SpeedUnits.js
@@ -18,13 +18,13 @@ Ext.define('Traccar.store.SpeedUnits', {
extend: 'Ext.data.Store',
fields: ['key', 'name'],
data: [
- {'key': 'kph', 'name': strings.shared_kph},
+ {'key': 'kmh', 'name': strings.shared_kmh},
{'key': 'mph', 'name': strings.shared_mph}
],
convert: function(value, unit) {
switch (unit) {
- case 'kph':
+ case 'kmh':
return value * 1.852;
case 'mph':
return value * 1.15078;