diff options
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/model/Event.js | 4 | ||||
-rw-r--r-- | web/app/store/PositionAttributes.js | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/web/app/model/Event.js b/web/app/model/Event.js index da866b4c..9455b0dd 100644 --- a/web/app/model/Event.js +++ b/web/app/model/Event.js @@ -51,8 +51,8 @@ Ext.define('Traccar.model.Event', { text = Strings[alarmKey] || alarmKey; } else if (rec.get('type') === 'textMessage') { text = Strings.eventTextMessage + ': ' + rec.get('attributes')['message']; - } else if (rec.get('type') === 'driverUnauthorized') { - text = Strings.eventDriverUnauthorized + ': ' + Traccar.AttributeFormatter.driverUniqueIdFormatter( + } else if (rec.get('type') === 'driverChanged') { + text = Strings.eventDriverChanged + ': ' + Traccar.AttributeFormatter.driverUniqueIdFormatter( rec.get('attributes')['driverUniqueId']); } else { text = Traccar.app.getEventString(rec.get('type')); diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js index 44bfa92f..c3d6d180 100644 --- a/web/app/store/PositionAttributes.js +++ b/web/app/store/PositionAttributes.js @@ -121,10 +121,6 @@ Ext.define('Traccar.store.PositionAttributes', { valueType: 'number', dataType: 'consumption' }, { - key: 'rfid', - name: Strings.positionRfid, - valueType: 'string' - }, { key: 'versionFw', name: Strings.positionVersionFw, valueType: 'string' |