Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2020-10-19 20:15:00 +0300
committerGitHub <noreply@github.com>2020-10-19 20:15:00 +0300
commit619ee9b48c5f11bbea38a8cf35f4a06b8fba0e11 (patch)
treef193503258cc0cf7a825ae2786ace92e1022691e /plugins/Overlay/javascripts/Piwik_Overlay.js
parent85618037852baa54631fbc9fbb42170afcde7553 (diff)
Adds measuarable settings to disable visits log and visitor profile (#16561)
* Adds measuarable settings to disable visits log and visitor profile * updates expected test files * Adds some UI tests to check deactivating visitor log / profile works * code improvements * more ui tests * Adds global system settings to disable visits log / profile * adds UI tests for system setting * updates expected screenshots * code improvement * improve tests * reset custom logo usage after test * updates expected screenshots * use transient cache
Diffstat (limited to 'plugins/Overlay/javascripts/Piwik_Overlay.js')
-rw-r--r--plugins/Overlay/javascripts/Piwik_Overlay.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Overlay/javascripts/Piwik_Overlay.js b/plugins/Overlay/javascripts/Piwik_Overlay.js
index b61eccf424..3c9a0b4551 100644
--- a/plugins/Overlay/javascripts/Piwik_Overlay.js
+++ b/plugins/Overlay/javascripts/Piwik_Overlay.js
@@ -84,7 +84,7 @@ var Piwik_Overlay = (function () {
if (!$sidebar.find('.overlayNoData').length) {
$rowEvolutionLink.show();
$transitionsLink.show();
- if ($('#segment').val()) {
+ if ($('#segment').val() && piwik.visitorLogEnabled) {
$visitorLogLink.show();
}
}