diff options
Diffstat (limited to 'web/app/model/ReportSummary.js')
-rw-r--r-- | web/app/model/ReportSummary.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/web/app/model/ReportSummary.js b/web/app/model/ReportSummary.js index d236ecd0..5cfbdcd7 100644 --- a/web/app/model/ReportSummary.js +++ b/web/app/model/ReportSummary.js @@ -28,13 +28,16 @@ Ext.define('Traccar.model.ReportSummary', { type: 'string' }, { name: 'maxSpeed', - type: 'float' + type: 'float', + convert: Traccar.AttributeFormatter.getConverter('speed') }, { name: 'averageSpeed', - type: 'float' + type: 'float', + convert: Traccar.AttributeFormatter.getConverter('speed') }, { name: 'distance', - type: 'float' + type: 'float', + convert: Traccar.AttributeFormatter.getConverter('distance') }, { name: 'engineHours', type: 'int' |