📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
return text when emptyu
kruzhambusfb7a9e84256c
diff --git a/src/pages/Project/View/Panels.tsx b/src/pages/Project/View/Panels.tsxindex 59af1dad4..9c6e970af 100644--- a/src/pages/Project/View/Panels.tsx+++ b/src/pages/Project/View/Panels.tsx@@ -783,6 +783,7 @@ const Panel = ({from={from || ''}to={to || ''}timezone={timezone || ''}+ t={t}/><ModalonClose={() => setModal(false)}@@ -808,6 +809,7 @@ const Panel = ({to={to || ''}timezone={timezone || ''}isReversed={isReversedUserFlow}+ t={t}/></div>)}diff --git a/src/pages/Project/View/components/UserFlow.tsx b/src/pages/Project/View/components/UserFlow.tsxindex ef348eeb0..e49f12180 100644--- a/src/pages/Project/View/components/UserFlow.tsx+++ b/src/pages/Project/View/components/UserFlow.tsx@@ -38,7 +38,7 @@ const mapDispatchToProps = (dispatch: AppDispatch) => ({})const UserFlow = ({- disableLegend, pid, period, timeBucket, from, to, timezone, userFlowAscendingCache, userFlowDescendingCache, isReversed, setUserFlowAscending, setUserFlowDescending, generateError,+ disableLegend, pid, period, timeBucket, from, to, timezone, userFlowAscendingCache, userFlowDescendingCache, isReversed, setUserFlowAscending, setUserFlowDescending, generateError, t,}: {disableLegend?: booleanpid: string@@ -57,6 +57,7 @@ const UserFlow = ({setUserFlowAscending: (data: IUserFlow, id: string, pd: string) => voidsetUserFlowDescending: (data: IUserFlow, id: string, pd: string) => voidgenerateError: (message: string) => void+ t: (key: string) => string}) => {const key = getUserFlowCacheKey(pid, period)const userFlowAscending = userFlowAscendingCache[key]@@ -97,7 +98,11 @@ const UserFlow = ({}if (_isEmpty(userFlowAscending) && _isEmpty(userFlowDescending)) {- return null+ return (+ <p className='flex items-center justify-center text-md leading-6 font-semibold text-gray-900 dark:text-gray-50'>+ {t('project.userFlow.noData')}+ </p>+ )}return (