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!

added isOpened check

Blue Mouse1e558356d05d
diff --git a/app/modals/NewFunnel.tsx b/app/modals/NewFunnel.tsx
index d1b7869fc..7a57585ac 100644
--- a/app/modals/NewFunnel.tsx
+++ b/app/modals/NewFunnel.tsx
@@ -47,7 +47,7 @@ const NewFunnel = ({
useEffect(() => {
// if project.name is underfined - that means that project is not loaded yet
// (it may be password protected, hence making a filters list request will fail with 403)
- if (_isUndefined(project.name)) {
+ if (_isUndefined(project.name) || !isOpened) {
return
}
@@ -74,7 +74,7 @@ const NewFunnel = ({
}
getFiltersData()
- }, [pid, project])
+ }, [pid, project, isOpened])
const _onClose = () => {
setTimeout(() => {