aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device/DeviceController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/device/DeviceController.js')
-rw-r--r--web/app/view/device/DeviceController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/device/DeviceController.js b/web/app/view/device/DeviceController.js
index 5a0ea85df..31caa5147 100644
--- a/web/app/view/device/DeviceController.js
+++ b/web/app/view/device/DeviceController.js
@@ -38,8 +38,8 @@ Ext.define('Traccar.view.device.DeviceController', {
init: function() {
if (Traccar.getApplication().getUser().get('admin')) {
- this.lookupReference('settingsServerButton').setDisabled(false);
- this.lookupReference('settingsUsersButton').setDisabled(false);
+ this.lookupReference('settingsServerButton').setHidden(false);
+ this.lookupReference('settingsUsersButton').setHidden(false);
}
},