aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/MainController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/MainController.js')
-rw-r--r--web/app/view/MainController.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/MainController.js b/web/app/view/MainController.js
index 126d9af..7cd0305 100644
--- a/web/app/view/MainController.js
+++ b/web/app/view/MainController.js
@@ -21,5 +21,6 @@ Ext.define('Traccar.view.MainController', {
init: function () {
this.lookupReference('reportView').setHidden(Traccar.app.getBooleanAttributePreference('ui.disableReport'));
+ this.lookupReference('eventsView').setHidden(Traccar.app.getBooleanAttributePreference('ui.disableEvents'));
}
});