aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller/Root.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r--web/app/controller/Root.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index dc759a08b..26f2f6f29 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -190,7 +190,7 @@ Ext.define('Traccar.controller.Root', {
if (array[i].geofenceId !== 0) {
geofence = Ext.getStore('Geofences').getById(array[i].geofenceId);
if (typeof geofence !== 'undefined') {
- text += ' \"' + geofence.getData().name + '"';
+ text += ' \"' + geofence.get('name') + '"';
}
}
device = Ext.getStore('Devices').getById(array[i].deviceId);