From e7aaac6c970520728bbc0d431498ffac9bb98ad7 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 9 Aug 2017 12:10:23 +0500 Subject: Move hide logic to Main and rename attribute --- web/app/view/map/MapController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/view/map') diff --git a/web/app/view/map/MapController.js b/web/app/view/map/MapController.js index 39cf5101..f2a561a3 100644 --- a/web/app/view/map/MapController.js +++ b/web/app/view/map/MapController.js @@ -45,7 +45,7 @@ Ext.define('Traccar.view.map.MapController', { init: function () { this.callParent(); this.lookupReference('showReportsButton').setVisible(Traccar.app.isMobile() && - !Traccar.app.getAttributePreference('web.disableReport', false)); + !Traccar.app.getAttributePreference('ui.disableReport', false)); this.lookupReference('showEventsButton').setVisible(Traccar.app.isMobile()); }, -- cgit v1.2.3