aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DevicesController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/DevicesController.js')
-rw-r--r--web/app/view/DevicesController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js
index 17f98629f..6dcc45448 100644
--- a/web/app/view/DevicesController.js
+++ b/web/app/view/DevicesController.js
@@ -99,7 +99,7 @@ Ext.define('Traccar.view.DevicesController', {
linkObjectName: 'geofenceId',
storeName: 'Geofences',
urlApi: 'api/devices/geofences',
- baseObject: device.getData().id
+ baseObject: device.getId()
}
}).show();
},