aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r--web/app/view/ReportController.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index d74fdfb9..58500860 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -456,11 +456,7 @@ Ext.define('Traccar.view.ReportController', {
}, {
text: Strings.sharedGeofence,
dataIndex: 'geofenceId',
- renderer: function (value) {
- if (value !== 0) {
- return Ext.getStore('Geofences').getById(value).get('name');
- }
- }
+ renderer: Traccar.AttributeFormatter.getFormatter('geofenceId')
}],
summaryColumns: [{