aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/DeviceController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/DeviceController.js')
-rw-r--r--web/app/view/dialog/DeviceController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/dialog/DeviceController.js b/web/app/view/dialog/DeviceController.js
index d6ddc58b..d7a4493b 100644
--- a/web/app/view/dialog/DeviceController.js
+++ b/web/app/view/dialog/DeviceController.js
@@ -21,7 +21,7 @@ Ext.define('Traccar.view.dialog.DeviceController', {
alias: 'controller.device',
init: function () {
- if (Traccar.app.getUser().get('admin')) {
+ if (Traccar.app.getUser().get('administrator')) {
this.lookupReference('disabledField').setHidden(false);
}
}