Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: date range selector does not automatically apply changes

Blue Mouse721e5f385c0f
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.tsx b/web/app/pages/Captcha/View/ViewCaptcha.tsx
index fe5f24de8..085012fa6 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -272,7 +272,7 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
loadCaptcha()
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [areFiltersParsed, filters, authLoading, project, period, timeBucket])
+ }, [areFiltersParsed, filters, authLoading, project, dateRange, period, timeBucket])
// this funtion is used for requesting the data from the API when the filter is changed
const filterHandler = (column: any, filter: any, isExclusive: boolean = false) => {
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index 1b60ca504..bbc09f4f0 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -2186,6 +2186,7 @@ const ViewProject = () => {
authLoading,
project,
isActiveCompare,
+ dateRange,
period,
timeBucket,
])
@@ -2205,6 +2206,7 @@ const ViewProject = () => {
authLoading,
project,
isActiveCompare,
+ dateRange,
period,
timeBucket,
])
@@ -2215,7 +2217,7 @@ const ViewProject = () => {
loadFunnelsData()
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [activeFunnel, activeTab, authLoading, project])
+ }, [activeFunnel, activeTab, authLoading, project, dateRange, period, timeBucket])
useEffect(() => {
if (authLoading || !areFiltersParsed || activeTab !== PROJECT_TABS.sessions || authLoading || !project) {