aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DevicesController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/DevicesController.js')
-rw-r--r--web/app/view/DevicesController.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js
index 1d4e3212f..e9a075ffc 100644
--- a/web/app/view/DevicesController.js
+++ b/web/app/view/DevicesController.js
@@ -30,22 +30,10 @@ Ext.define('Traccar.view.DevicesController', {
selectDevice: 'selectDevice',
selectReport: 'selectReport'
}
- },
- store: {
- '#Groups': {
- update: 'reloadList'
- },
- '#Devices': {
- add: 'reloadList'
- }
}
}
},
- reloadList: function() {
- Ext.getStore('Devices').reload();
- },
-
init: function () {
var readonly = Traccar.app.getServer().get('readonly') && !Traccar.app.getUser().get('admin');
this.lookupReference('toolbarAddButton').setVisible(!readonly);