diff options
Diffstat (limited to 'web/app/view/MainController.js')
-rw-r--r-- | web/app/view/MainController.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/MainController.js b/web/app/view/MainController.js index 76645e43..126d9af5 100644 --- a/web/app/view/MainController.js +++ b/web/app/view/MainController.js @@ -20,7 +20,6 @@ Ext.define('Traccar.view.MainController', { alias: 'controller.mainController', init: function () { - this.lookupReference('reportView').setHidden( - Traccar.app.getAttributePreference('ui.disableReport', false).toString() === 'true'); + this.lookupReference('reportView').setHidden(Traccar.app.getBooleanAttributePreference('ui.disableReport')); } }); |