aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-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 5dcc722..16813fa 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -37,7 +37,7 @@ Ext.define('Traccar.view.SettingsMenuController', {
init: function () {
var admin, manager, readonly, deviceReadonly;
admin = Traccar.app.getUser().get('admin');
- manager = Traccar.app.getUser().get('userLimit') > 0;
+ manager = Traccar.app.getUser().get('userLimit') !== 0;
readonly = Traccar.app.getPreference('readonly', false);
deviceReadonly = Traccar.app.getUser().get('deviceReadonly');
if (admin) {