aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-15 12:24:13 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-15 12:24:13 +1200
commitd2139af877194952e3d49ca882188bcebbbd927e (patch)
treef5f6c81df6f04269a0f57d83e5fce17b8c98c346 /web/app/view/report
parent5cf1061cfcc5baf214bce145961512fd4f672621 (diff)
downloadtrackermap-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.js2
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 }