diff --git a/assets/js/dashboard/filters.js b/assets/js/dashboard/filters.js index 2384b7920..e8bc57360 100644 --- a/assets/js/dashboard/filters.js +++ b/assets/js/dashboard/filters.js @@ -17,9 +17,9 @@ function removeFilter(key, history, query) { const newOpts = { [key]: false } - if (key === 'country') { newOpts.country_name = false } - if (key === 'region') { newOpts.region_name = false } - if (key === 'city') { newOpts.city_name = false } + if (key === 'country') { newOpts.country_labels = false } + if (key === 'region') { newOpts.region_labels = false } + if (key === 'city') { newOpts.city_labels = false } navigateToQuery( history, diff --git a/assets/js/dashboard/stats/locations/index.js b/assets/js/dashboard/stats/locations/index.js index 23574ea66..6ce0bbd62 100644 --- a/assets/js/dashboard/stats/locations/index.js +++ b/assets/js/dashboard/stats/locations/index.js @@ -21,7 +21,7 @@ function Countries({query, site, onClick}) { return (