diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-09 16:13:51 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-09 16:13:51 +1200 |
commit | aef068a7eef31b7144077ab4d5d5842f80003166 (patch) | |
tree | 7124dc819bd947c28c95adad8fac8aba381a8225 /web/app/view | |
parent | 3ba4c59d26aee7cc336e9b26c792e2ddcc56a491 (diff) | |
download | traccar-server-aef068a7eef31b7144077ab4d5d5842f80003166.tar.gz traccar-server-aef068a7eef31b7144077ab4d5d5842f80003166.tar.bz2 traccar-server-aef068a7eef31b7144077ab4d5d5842f80003166.zip |
Show only user own geofences
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/DevicesController.js | 2 |
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 } |