From 875dd368f13a7555a942635cc9f99030cdede3a9 Mon Sep 17 00:00:00 2001 From: Karl-Aksel Puulmann Date: Mon, 16 Sep 2024 09:41:36 +0300 Subject: [PATCH] Make countries/regions/cities tooltips work Previously these tooltips said `Add filter: Country is undefined` because new labels were yet to be in `query`. --- CHANGELOG.md | 1 + assets/js/dashboard/stats/reports/list.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 444b05231f..43310dbf72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ All notable changes to this project will be documented in this file. - Fix property filter suggestions 500 error when property hasn't been selected - Bamboo.Mua: add Date and Message-ID headers if missing plausible/analytics#4474 - Fix migration order across `plausible_db` and `plausible_events_db` databases plausible/analytics#4466 +- Fix tooltips for countries/cities/regions links in dashboard ## v2.1.1 - 2024-06-06 diff --git a/assets/js/dashboard/stats/reports/list.js b/assets/js/dashboard/stats/reports/list.js index 38aacb5997..7f1eb3fd84 100644 --- a/assets/js/dashboard/stats/reports/list.js +++ b/assets/js/dashboard/stats/reports/list.js @@ -28,8 +28,8 @@ export function FilterLink({ path, filterInfo, onClick, children, extraClass }) const newLabels = cleanLabels(newFilters, query.labels, filter[1], labels) return ( -