📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fix: custom events onChange
kruzhambus505f5432af6e
diff --git a/src/pages/Project/View/ViewProject.tsx b/src/pages/Project/View/ViewProject.tsxindex 074483f57..08e6fd1fa 100644--- a/src/pages/Project/View/ViewProject.tsx+++ b/src/pages/Project/View/ViewProject.tsx@@ -433,7 +433,7 @@ const ViewProject = ({}useEffect(() => {- if (activeTab === PROJECT_TABS.traffic && !_isEmpty(activeChartMetricsCustomEvents)) {+ if (activeTab === PROJECT_TABS.traffic) {loadCustomEvents()}// eslint-disable-next-line react-hooks/exhaustive-deps@@ -1632,6 +1632,7 @@ const ViewProject = ({onSelect={(event, e) => {e.stopPropagation()e.preventDefault()+setActiveChartMetricsCustomEvents((prev) => {const newActiveChartMetricsCustomEvents = [...prev]const index = _findIndex(prev, (item) => item === event.id)