From c4316d61c69c3f4fe6bf0ce3613f4db1027b64b1 Mon Sep 17 00:00:00 2001 From: Kris Buist Date: Tue, 11 Jul 2023 14:25:36 +0200 Subject: [PATCH] Fix the country filter label when clicking on a country on the map (#3109) --- CHANGELOG.md | 1 + assets/js/dashboard/stats/locations/map.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76156021a..12d63be98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file. - Fix broken favicons when domain includes a slash - Fix bug when using multiple [wildcard goal filters](https://github.com/plausible/analytics/pull/3015) - Fix a bug where realtime would fail with imported data +- Fix a bug where the country name was not shown when [filtering through the map](https://github.com/plausible/analytics/issues/3086) ### Changed - Treat page filter as entry page filter for `bounce_rate` diff --git a/assets/js/dashboard/stats/locations/map.js b/assets/js/dashboard/stats/locations/map.js index 5c2f2b333..a6c2f8dbf 100644 --- a/assets/js/dashboard/stats/locations/map.js +++ b/assets/js/dashboard/stats/locations/map.js @@ -121,7 +121,7 @@ class Countries extends React.Component { this.props.query, { country: country.code, - country_name: country.name + country_labels: country.name } ) }