diff options
author | sgiehl <stefan@matomo.org> | 2022-05-30 17:32:18 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2022-05-30 17:32:18 +0300 |
commit | 7fa84731896c4ecf1514d0281adbe8b4e97ef511 (patch) | |
tree | 356d9fef7e4d4fd435684b8283eaa15e2d352879 /plugins/CoreHome/vue/src | |
parent | 3fcb8b915aba348e64cb8633222d5b62f4e2c29f (diff) | |
parent | d36664cd485fc80af2d97992ddf53d97686d74ca (diff) |
Merge branch 'next_release' into 4.x-dev
Diffstat (limited to 'plugins/CoreHome/vue/src')
-rw-r--r-- | plugins/CoreHome/vue/src/Sparkline/Sparkline.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CoreHome/vue/src/Sparkline/Sparkline.vue b/plugins/CoreHome/vue/src/Sparkline/Sparkline.vue index 37f9008d0e..869d26dc09 100644 --- a/plugins/CoreHome/vue/src/Sparkline/Sparkline.vue +++ b/plugins/CoreHome/vue/src/Sparkline/Sparkline.vue @@ -51,6 +51,10 @@ export default defineComponent({ colors, random: Date.now(), date: this.defaultDate, + // mixinDefaultGetParams() will use the raw, encoded value from the URL (legacy behavior), + // which means MatomoUrl.stringify() will end up double encoding it if we don't set it + // ourselves here. + segment: MatomoUrl.parsed.value.segment as string, }; const helper = new AjaxHelper(); |