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) crush

kruzhambus39ce476e9451
diff --git a/src/pages/Project/View/components/UserFlow.tsx b/src/pages/Project/View/components/UserFlow.tsx
index 953a706b7..9df8d8639 100644
--- a/src/pages/Project/View/components/UserFlow.tsx
+++ b/src/pages/Project/View/components/UserFlow.tsx
@@ -97,7 +97,7 @@ const UserFlow = ({
return <Loader />
}
- if (_isEmpty(userFlowAscending) && _isEmpty(userFlowDescending)) {
+ if ((_isEmpty(userFlowAscending) && _isEmpty(userFlowDescending)) || (_isEmpty(userFlowAscending?.nodes) && _isEmpty(userFlowDescending?.links))) {
return (
<p className='flex mt-4 items-center justify-center text-md text-gray-900 dark:text-gray-50'>
{t('project.userFlow.noData')}