aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-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 5dcc722f..16813fa6 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) {