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!

Merge branch 'main' into fixBugWithLogPid

Andrii R0eed4657ce16
diff --cc src/redux/reducers/ui/cache.js
index acec81476,51b2d1140..bd88cce53
--- a/src/redux/reducers/ui/cache.js
+++ b/src/redux/reducers/ui/cache.js
@@@ -33,13 -34,17 +34,10 @@@ const getInitialState = () =>
const cacheReducer = (state = getInitialState(), { type, payload }) => {
switch (type) {
case types.SET_PROJECT_CACHE: {
- const { pid, period, timeBucket, data, key } = payload
-
- // temporarily do not store custom date ranges in cache
- // if (period === 'custom') {
- // return state
- // }
+ const {
- pid, period, timeBucket, data,
++ pid, period, timeBucket, data, key,
+ } = payload
- // temporarily do not store custom date ranges in cache
- if (period === 'custom') {
- return state
- }
-
- const key = getProjectCacheKey(period, timeBucket)
-
return {
...state,
analytics: {