aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-rw-r--r--web/app/controller/Root.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index 5bd567619..bb65e0048 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -102,7 +102,7 @@ Ext.define('Traccar.controller.Root', {
array = data.devices;
store = Ext.getStore('Devices');
for (i = 0; i < array.length; i++) {
- entity = store.findRecord('id', array[i].id, 0, false, false, true);
+ entity = store.getById(array[i].id);
if (entity) {
entity.set({
status: array[i].status,