aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/BasePermissionsController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/BasePermissionsController.js b/web/app/view/BasePermissionsController.js
index 3cdc2e4dc..5aa261c63 100644
--- a/web/app/view/BasePermissionsController.js
+++ b/web/app/view/BasePermissionsController.js
@@ -36,7 +36,7 @@ Ext.define('Traccar.view.BasePermissionsController', {
var i, index;
if (success) {
for (i = 0; i < records.length; i++) {
- index = this.getView().getStore().find('id', records[i].getData().id);
+ index = this.getView().getStore().findExact('id', records[i].getData().id);
this.getView().getSelectionModel().select(index, true, true);
}
}