aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/MapController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-09 12:10:23 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-09 12:10:23 +0500
commite7aaac6c970520728bbc0d431498ffac9bb98ad7 (patch)
tree5c775834a432ac7923bc4c8e76035a733086cbc5 /web/app/view/map/MapController.js
parent36ac724810ff77ec4070ed8f20ba7336204e384c (diff)
downloadetbsa-traccar-web-e7aaac6c970520728bbc0d431498ffac9bb98ad7.tar.gz
etbsa-traccar-web-e7aaac6c970520728bbc0d431498ffac9bb98ad7.tar.bz2
etbsa-traccar-web-e7aaac6c970520728bbc0d431498ffac9bb98ad7.zip
Move hide logic to Main and rename attribute
Diffstat (limited to 'web/app/view/map/MapController.js')
-rw-r--r--web/app/view/map/MapController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/map/MapController.js b/web/app/view/map/MapController.js
index 39cf510..f2a561a 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());
},