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>2022-05-06 10:33:45 +0300
committerGitHub <noreply@github.com>2022-05-06 10:33:45 +0300
commit2bbf7f454703a3598831c5f88547b97969856b0c (patch)
tree92249cc9aaa56236e33d1ed043ee4f332c29372a /plugins/CoreVue/types
parent351307dd5d9715a27290ffe1809b030651a388c9 (diff)
Avoid request to API.getPagesComparisonsDisabledFor in TagManager (#19179)
* Avoid request to API.getPagesComparisonsDisabledFor in TagManager * Added code to disable API.getPagesComparisonsDisabledFor call via window variable * fix code Co-authored-by: Altamash Shaikh <altu9594@gmail.com>
Diffstat (limited to 'plugins/CoreVue/types')
-rw-r--r--plugins/CoreVue/types/index.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts
index 023eec7794..c834c5caa1 100644
--- a/plugins/CoreVue/types/index.d.ts
+++ b/plugins/CoreVue/types/index.d.ts
@@ -158,6 +158,7 @@ declare global {
numbers: Record<string, string>;
visitorProfileEnabled: boolean;
languageName: string;
+ isPagesComparisonApiDisabled: boolean; // can be set to avoid checks on Api.getPagesComparisonsDisabledFor
updatePeriodParamsFromUrl(): void;
updateDateInTitle(date: string, period: string): void;