diff options
Diffstat (limited to 'web/app/store/GroupAttributes.js')
-rw-r--r-- | web/app/store/GroupAttributes.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/web/app/store/GroupAttributes.js b/web/app/store/GroupAttributes.js index 35caa8c7..95507243 100644 --- a/web/app/store/GroupAttributes.js +++ b/web/app/store/GroupAttributes.js @@ -23,7 +23,8 @@ Ext.define('Traccar.store.GroupAttributes', { 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.GroupAttributes', { }, { 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: 'processing.copyAttributes', name: Strings.attributeProcessingCopyAttributes, |