aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-22 22:21:11 +1200
committerGitHub <noreply@github.com>2017-05-22 22:21:11 +1200
commitf846af4faa6149f8bb301ae4bc28117f24c9b7af (patch)
tree229375d0ab0cf7683afe17e952097c67a9e41ff5
parentf5d4d3bf8a4d12f4739407f8f25bba3c572df649 (diff)
parent2d9cb5a04fc417953ecc96e158f42f4946ed9aa3 (diff)
downloadetbsa-traccar-web-f846af4faa6149f8bb301ae4bc28117f24c9b7af.tar.gz
etbsa-traccar-web-f846af4faa6149f8bb301ae4bc28117f24c9b7af.tar.bz2
etbsa-traccar-web-f846af4faa6149f8bb301ae4bc28117f24c9b7af.zip
Merge pull request #491 from Abyss777/position_attributes_fix
Change "charge" type
-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,