aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-09 16:13:51 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-09 16:13:51 +1200
commitaef068a7eef31b7144077ab4d5d5842f80003166 (patch)
tree7124dc819bd947c28c95adad8fac8aba381a8225 /web
parent3ba4c59d26aee7cc336e9b26c792e2ddcc56a491 (diff)
downloadtrackermap-server-aef068a7eef31b7144077ab4d5d5842f80003166.tar.gz
trackermap-server-aef068a7eef31b7144077ab4d5d5842f80003166.tar.bz2
trackermap-server-aef068a7eef31b7144077ab4d5d5842f80003166.zip
Show only user own geofences
Diffstat (limited to 'web')
-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 3c1abfd8b..ca3e24661 100644
--- a/web/app/view/DevicesController.js
+++ b/web/app/view/DevicesController.js
@@ -95,7 +95,7 @@ Ext.define('Traccar.view.DevicesController', {
xtype: 'deviceGeofencesView',
baseObjectName: 'deviceId',
linkObjectName: 'geofenceId',
- storeName: admin ? 'AllGeofences' : 'Geofences',
+ storeName: 'Geofences',
urlApi: '/api/devices/geofences',
baseObject: device.getData().id
}