aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialogController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/UserDialogController.js')
-rw-r--r--web/app/view/UserDialogController.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/web/app/view/UserDialogController.js b/web/app/view/UserDialogController.js
index 7c5cebd8..cd0a9512 100644
--- a/web/app/view/UserDialogController.js
+++ b/web/app/view/UserDialogController.js
@@ -21,8 +21,11 @@ Ext.define('Traccar.view.UserDialogController', {
init: function () {
if (Traccar.app.getUser().get('admin')) {
- this.lookupReference('adminField').setDisabled(false);
- this.lookupReference('readonlyField').setDisabled(false);
+ this.lookupReference('adminField').setHidden(false);
+ this.lookupReference('readonlyField').setHidden(false);
+ this.lookupReference('disabledField').setHidden(false);
+ this.lookupReference('expirationTimeField').setDisabled(false);
+ this.lookupReference('deviceLimitField').setDisabled(false);
}
},