diff options
Diffstat (limited to 'web/app/store/ServerAttributes.js')
-rw-r--r-- | web/app/store/ServerAttributes.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js index 602aab87..64bac240 100644 --- a/web/app/store/ServerAttributes.js +++ b/web/app/store/ServerAttributes.js @@ -23,22 +23,22 @@ Ext.define('Traccar.store.ServerAttributes', { data: [{ key: 'speedLimit', name: Strings.attributeSpeedLimit, - type: 'number', - convert: 'speed' + valueType: 'number', + dataType: 'speed' }, { key: 'maintenance.start', name: Strings.attributeMaintenanceStart, - type: 'number', - convert: 'distance' + valueType: 'number', + dataType: 'distance' }, { key: 'maintenance.interval', name: Strings.attributeMaintenanceInterval, - type: 'number', - convert: 'distance' + valueType: 'number', + dataType: 'distance' }, { key: 'web.liveRouteLength', name: Strings.attributeWebLiveRouteLength, - type: 'number', + valueType: 'number', allowDecimals: false }] }); |