diff options
Diffstat (limited to 'web/app/store/DeviceAttributes.js')
-rw-r--r-- | web/app/store/DeviceAttributes.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/web/app/store/DeviceAttributes.js b/web/app/store/DeviceAttributes.js index a430354..8f476d4 100644 --- a/web/app/store/DeviceAttributes.js +++ b/web/app/store/DeviceAttributes.js @@ -23,7 +23,8 @@ Ext.define('Traccar.store.DeviceAttributes', { data: [{ key: 'speedLimit', name: Strings.attributeSpeedLimit, - type: 'number' + type: 'number', + convert: 'speed' }, { key: 'report.ignoreOdometer', name: Strings.attributeReportIgnoreOdometer, @@ -31,11 +32,13 @@ Ext.define('Traccar.store.DeviceAttributes', { }, { key: 'maintenance.start', name: Strings.attributeMaintenanceStart, - type: 'number' + type: 'number', + convert: 'distance' }, { key: 'maintenance.interval', name: Strings.attributeMaintenanceInterval, - type: 'number' + type: 'number', + convert: 'distance' }, { key: 'web.reportColor', name: Strings.attributeWebReportColor, |