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!

Show dashboard header when no events availble

Blue Mouse3fe6c56557e7
diff --git a/web/app/pages/Project/tabs/Captcha/CaptchaView.tsx b/web/app/pages/Project/tabs/Captcha/CaptchaView.tsx
index 486996e5a..8dcd73efc 100644
--- a/web/app/pages/Project/tabs/Captcha/CaptchaView.tsx
+++ b/web/app/pages/Project/tabs/Captcha/CaptchaView.tsx
@@ -198,12 +198,17 @@ const CaptchaView = ({ projectId }: CaptchaViewProps) => {
}
if (isPanelsDataEmpty && !dataLoading) {
- return <NoCaptchaEvents filters={filters} />
+ return (
+ <>
+ <DashboardHeader showLiveVisitors={false} />
+ <NoCaptchaEvents filters={filters} />
+ </>
+ )
}
return (
<>
- <DashboardHeader showLiveVisitors />
+ <DashboardHeader showLiveVisitors={false} />
<div ref={ref}>
{dataLoading && hasExistingData ? <LoadingBar /> : null}
<div>