aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UsersController.js
diff options
context:
space:
mode:
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();
},