mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 00:55:37 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
3646039e54
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export function LoadingPanel({
|
||||||
className?: string;
|
className?: string;
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
}) {
|
}) {
|
||||||
const isEmpty = !isLoading && isFetched && data && Array.isArray(data) && data.length > 0;
|
const isEmpty = !isLoading && isFetched && data && Array.isArray(data) && data.length === 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames(styles.panel, className)}>
|
<div className={classNames(styles.panel, className)}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue