From 3ad3edfadba59e94d95e967e9d5cd28ae671cae4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 18 Aug 2015 13:47:52 +1200 Subject: Re-factor web interface part --- web/app/view/report/Report.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'web/app/view/report') diff --git a/web/app/view/report/Report.js b/web/app/view/report/Report.js index 5466c7887..535be942b 100644 --- a/web/app/view/report/Report.js +++ b/web/app/view/report/Report.js @@ -90,14 +90,6 @@ Ext.define('Traccar.view.report.Report', { return speedUnits.convert(value, unit) + ' ' + speedUnits.getUnitName(unit); } }, - /* { text: strings.positionCourse, dataIndex: 'course', flex: 1 }, */ - { text: 'Odometer', dataIndex: 'odometer', flex: 1, - renderer: function(value) { - var distanceUnits = Ext.getStore('DistanceUnits'); - var unit = Traccar.getApplication().getUser().get('distanceUnit') || Traccar.getApplication().getServer().get('distanceUnit') || ''; - return distanceUnits.convert(value, unit) + ' ' + distanceUnits.getUnitName(unit); - } - }, { text: strings.positionAddress, dataIndex: 'address', flex: 1 } ] -- cgit v1.2.3