From 2d9cb5a04fc417953ecc96e158f42f4946ed9aa3 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 22 May 2017 14:12:13 +0500 Subject: - Change "charge" type - Fix "operator" type --- web/app/store/PositionAttributes.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web/app/store') 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, -- cgit v1.2.3