aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-05-22 14:12:13 +0500
committerAbyss777 <abyss@fox5.ru>2017-05-22 14:12:13 +0500
commit2d9cb5a04fc417953ecc96e158f42f4946ed9aa3 (patch)
tree229375d0ab0cf7683afe17e952097c67a9e41ff5 /web/app/store
parentf5d4d3bf8a4d12f4739407f8f25bba3c572df649 (diff)
downloadetbsa-traccar-web-2d9cb5a04fc417953ecc96e158f42f4946ed9aa3.tar.gz
etbsa-traccar-web-2d9cb5a04fc417953ecc96e158f42f4946ed9aa3.tar.bz2
etbsa-traccar-web-2d9cb5a04fc417953ecc96e158f42f4946ed9aa3.zip
- Change "charge" type
- Fix "operator" type
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/PositionAttributes.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js
index ec1cbf8..985c558 100644
--- a/web/app/store/PositionAttributes.js
+++ b/web/app/store/PositionAttributes.js
@@ -147,7 +147,7 @@ Ext.define('Traccar.store.PositionAttributes', {
}, {
key: 'charge',
name: Strings.positionCharge,
- valueType: 'string'
+ valueType: 'boolean'
}, {
key: 'ip',
name: Strings.positionIp,
@@ -206,8 +206,7 @@ Ext.define('Traccar.store.PositionAttributes', {
}, {
key: 'operator',
name: Strings.positionOperator,
- valueType: 'number',
- dataType: 'temperature'
+ valueType: 'string'
}, {
key: 'command',
name: Strings.deviceCommand,