Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix: allow exclude any event

Carl-Gerhard Lindesvärdacc29e951a7b
diff --git a/apps/start/src/components/settings/edit-project-filters.tsx b/apps/start/src/components/settings/edit-project-filters.tsx
index bacd1b62b..54943640b 100644
--- a/apps/start/src/components/settings/edit-project-filters.tsx
+++ b/apps/start/src/components/settings/edit-project-filters.tsx
@@ -51,7 +51,7 @@ function EventRuleItem({
onChange,
onRemove,
}: EventRuleItemProps) {
- const eventNames = useEventNames({ projectId, anyEvents: false });
+ const eventNames = useEventNames({ projectId, anyEvents: true });
const addFilter = (action: {
value: string;