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 allowedToManage check to funnel edit _onSubmit

Blue Mouse74da6344b128
diff --git a/app/modals/NewFunnel.tsx b/app/modals/NewFunnel.tsx
index b40f88506..2b10bd7d2 100644
--- a/app/modals/NewFunnel.tsx
+++ b/app/modals/NewFunnel.tsx
@@ -95,7 +95,7 @@ const NewFunnel = ({
}
const _onSubmit = async () => {
- if (!name || !allStepsFulfilled) {
+ if (!name || !allStepsFulfilled || !allowedToManage) {
return
}