aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/Event.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/model/Event.js')
-rw-r--r--web/app/model/Event.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/model/Event.js b/web/app/model/Event.js
index 70fab178..da866b4c 100644
--- a/web/app/model/Event.js
+++ b/web/app/model/Event.js
@@ -51,6 +51,9 @@ 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(
+ rec.get('attributes')['driverUniqueId']);
} else {
text = Traccar.app.getEventString(rec.get('type'));
}