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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index d53abed7..9decb652 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -437,7 +437,7 @@ Ext.define('Traccar.view.ReportController', {
dataIndex: 'geofenceId',
renderer: function (value) {
if (value !== 0) {
- return Ext.getStore('Geofences').findRecord('id', value).get('name');
+ return Ext.getStore('Geofences').getById(value).get('name');
}
}
}],