OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix(dashboard): add property selector
Carl-Gerhard Lindesvärdcd5dce02b8e9
diff --git a/apps/dashboard/src/components/report/sidebar/ReportEvents.tsx b/apps/dashboard/src/components/report/sidebar/ReportEvents.tsxindex 362c3362e..4990b2a79 100644--- a/apps/dashboard/src/components/report/sidebar/ReportEvents.tsx+++ b/apps/dashboard/src/components/report/sidebar/ReportEvents.tsx@@ -126,11 +126,9 @@ function SortableEvent({</PropertiesCombobox>)}- {showSegment &&- (event.segment === 'property_average' ||- event.segment === 'property_sum') && (- <EventPropertiesCombobox event={event} />- )}+ {showSegment && event.segment.startsWith('property_') && (+ <EventPropertiesCombobox event={event} />+ )}</div>)}