aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UsersController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-02 00:30:55 +1200
committerGitHub <noreply@github.com>2016-09-02 00:30:55 +1200
commitbfcf42c5d55083bec83451400a432c7004f063c5 (patch)
tree2ce4d56503523bb2ed58b0f6a1896423d99a66d8 /web/app/view/UsersController.js
parent1fe4c2e0b636646fddb28081c7cdfd3c5593ae77 (diff)
parent65bb228fd2dff0993ef4d8817175bdb96c854e1f (diff)
downloadtrackermap-server-bfcf42c5d55083bec83451400a432c7004f063c5.tar.gz
trackermap-server-bfcf42c5d55083bec83451400a432c7004f063c5.tar.bz2
trackermap-server-bfcf42c5d55083bec83451400a432c7004f063c5.zip
Merge pull request #2279 from Abyss777/fix_permissions
Fix find index in BasePermissionsController.js
Diffstat (limited to 'web/app/view/UsersController.js')
-rw-r--r--web/app/view/UsersController.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/UsersController.js b/web/app/view/UsersController.js
index da7dd8f13..fad5f245e 100644
--- a/web/app/view/UsersController.js
+++ b/web/app/view/UsersController.js
@@ -79,7 +79,7 @@ Ext.define('Traccar.view.UsersController', {
storeName: 'AllDevices',
linkStoreName: 'Devices',
urlApi: 'api/permissions/devices',
- baseObject: user.getData().id
+ baseObject: user.getId()
}
}).show();
},
@@ -95,7 +95,7 @@ Ext.define('Traccar.view.UsersController', {
storeName: 'AllGroups',
linkStoreName: 'Groups',
urlApi: 'api/permissions/groups',
- baseObject: user.getData().id
+ baseObject: user.getId()
}
}).show();
},
@@ -111,7 +111,7 @@ Ext.define('Traccar.view.UsersController', {
storeName: 'AllGeofences',
linkStoreName: 'Geofences',
urlApi: 'api/permissions/geofences',
- baseObject: user.getData().id
+ baseObject: user.getId()
}
}).show();
},