aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-04 23:23:37 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-04 23:23:37 -0700
commitea72b9f96d6e03a4f9bbbeadcc8f41efbff4427f (patch)
tree5a7004cfbe92acac33a03b9f95d25d71293efdc1
parent69ad0505188b822a540b14ec5a7d1654ec3375f4 (diff)
downloadetbsa-traccar-web-ea72b9f96d6e03a4f9bbbeadcc8f41efbff4427f.tar.gz
etbsa-traccar-web-ea72b9f96d6e03a4f9bbbeadcc8f41efbff4427f.tar.bz2
etbsa-traccar-web-ea72b9f96d6e03a4f9bbbeadcc8f41efbff4427f.zip
Add events alarm column
-rw-r--r--web/app/view/ReportController.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index cc0fd4a..4241df3 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -528,6 +528,12 @@ Ext.define('Traccar.view.ReportController', {
return Traccar.app.getEventString(value);
}
}, {
+ text: Strings.positionAlarm,
+ dataIndex: 'attributes',
+ renderer: function (value) {
+ return value['alarm'];
+ }
+ }, {
text: Strings.sharedGeofence,
dataIndex: 'geofenceId',
renderer: Traccar.AttributeFormatter.getFormatter('geofenceId')