From aef068a7eef31b7144077ab4d5d5842f80003166 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 9 Jul 2016 16:13:51 +1200 Subject: Show only user own geofences --- web/app/view/DevicesController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app') 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 } -- cgit v1.2.3