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!

.

kruzhambus7ffdc8fa0779
diff --git a/src/pages/Project/View/ViewProject.jsx b/src/pages/Project/View/ViewProject.jsx
index 1ea8c8a50..f5892e9bb 100644
--- a/src/pages/Project/View/ViewProject.jsx
+++ b/src/pages/Project/View/ViewProject.jsx
@@ -325,7 +325,7 @@ const ViewProject = ({
if (!_isEmpty(mainChart)) {
mainChart.destroy()
}
-
+
setMainChart(bb.generate(bbSettings))
setIsPanelsDataEmpty(false)
} else {
@@ -446,7 +446,7 @@ const ViewProject = ({
const updatePeriod = (newPeriod) => {
const newPeriodFull = _find(periodPairs, (el) => el.period === newPeriod)
let tb = timeBucket
- // if (_isEmpty(newPeriodFull)) return
+ if (_isEmpty(newPeriodFull)) return
if (!_includes(newPeriodFull.tbs, timeBucket)) {
tb = _last(newPeriodFull.tbs)