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!

fix panel pagination

kruzhambusab000cdba528
diff --git a/src/pages/Project/View/Panels.jsx b/src/pages/Project/View/Panels.jsx
index ac212e900..89841da92 100644
--- a/src/pages/Project/View/Panels.jsx
+++ b/src/pages/Project/View/Panels.jsx
@@ -411,6 +411,10 @@ const Panel = ({
}
}, [currentIndex, keys])
+ useEffect(() => {
+ setPage(0)
+ }, [data])
+
const onPrevious = () => {
if (canGoPrev()) {
setPage(page - 1)