📈 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: undefined is displayed on chart because the projectViewPrefs is string
Blue Mouse07086642d77c
diff --git a/app/pages/Project/View/ViewProject.helpers.tsx b/app/pages/Project/View/ViewProject.helpers.tsxindex 5200d39b3..4aef943f9 100644--- a/app/pages/Project/View/ViewProject.helpers.tsx+++ b/app/pages/Project/View/ViewProject.helpers.tsx@@ -926,7 +926,7 @@ export const filterInvalidViewPrefs = (prefs: any): any => {...prev,[curr]: prefs[curr],}- })+ }, {})}const typeNameMapping = (t: (str: string) => string) => ({diff --git a/app/redux/reducers/ui/cache.ts b/app/redux/reducers/ui/cache.tsindex 404163aad..a95834217 100644--- a/app/redux/reducers/ui/cache.ts+++ b/app/redux/reducers/ui/cache.ts@@ -15,6 +15,7 @@ export const getInitialViewPrefs = (LS_VIEW: string) => {}const storedPrefs = getItem(LS_VIEW)+try {return filterInvalidViewPrefs(storedPrefs)} catch (e) {