Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Fix setting with_imported to false explicitly in the URL (#4148)
RobertJoonas4d7a67d29430
diff --git a/assets/js/dashboard/stats/graph/with-imported-switch.js b/assets/js/dashboard/stats/graph/with-imported-switch.jsindex b499cd162d..b376e1ee87 100644--- a/assets/js/dashboard/stats/graph/with-imported-switch.js+++ b/assets/js/dashboard/stats/graph/with-imported-switch.js@@ -24,7 +24,7 @@ export default function WithImportedSwitch({site, topStatData}) {if (isQueryingImportedPeriod || isComparingImportedPeriod) {const withImported = topStatData.with_imported;const toggleColor = withImported ? " dark:text-gray-300 text-gray-700" : " dark:text-gray-500 text-gray-400"- const target = url.setQuery('with_imported', !withImported)+ const target = url.setQuery('with_imported', (!withImported).toString())const tip = withImported ? "" : "do not ";return (