diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-05-06 10:33:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 10:33:45 +0300 |
commit | 2bbf7f454703a3598831c5f88547b97969856b0c (patch) | |
tree | 92249cc9aaa56236e33d1ed043ee4f332c29372a /plugins/CoreVue/types | |
parent | 351307dd5d9715a27290ffe1809b030651a388c9 (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.ts | 1 |
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; |