aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/SettingsMenuController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r--web/app/view/SettingsMenuController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index 56d9cf89..59f62c2e 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -39,7 +39,7 @@ Ext.define('Traccar.view.SettingsMenuController', {
init: function () {
var admin, manager, readonly, deviceReadonly;
- admin = Traccar.app.getUser().get('admin');
+ admin = Traccar.app.getUser().get('administrator');
manager = Traccar.app.getUser().get('userLimit') !== 0;
readonly = Traccar.app.getPreference('readonly', false);
deviceReadonly = Traccar.app.getUser().get('deviceReadonly');