diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 12:24:13 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 12:24:13 +1200 |
commit | d2139af877194952e3d49ca882188bcebbbd927e (patch) | |
tree | f5f6c81df6f04269a0f57d83e5fce17b8c98c346 /web/app/view/report | |
parent | 5cf1061cfcc5baf214bce145961512fd4f672621 (diff) | |
download | trackermap-server-d2139af877194952e3d49ca882188bcebbbd927e.tar.gz trackermap-server-d2139af877194952e3d49ca882188bcebbbd927e.tar.bz2 trackermap-server-d2139af877194952e3d49ca882188bcebbbd927e.zip |
Update and format store classes
Diffstat (limited to 'web/app/view/report')
-rw-r--r-- | web/app/view/report/Report.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/report/Report.js b/web/app/view/report/Report.js index 8b86b9cc7..8a1dae9c4 100644 --- a/web/app/view/report/Report.js +++ b/web/app/view/report/Report.js @@ -91,7 +91,7 @@ Ext.define('Traccar.view.report.Report', { renderer: function(value) { var speedUnits = Ext.getStore('SpeedUnits'); var unit = Traccar.getApplication().getUser().get('speedUnit') || Traccar.getApplication().getServer().get('speedUnit') || ''; - return speedUnits.convert(value, unit) + ' ' + speedUnits.getUnitName(unit); + return speedUnits.formatValue(value, unit); } }, { text: strings.positionAddress, dataIndex: 'address', flex: 1 } |