mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
Updated data table render check.
This commit is contained in:
parent
3c27f08a97
commit
90bd72cf98
4 changed files with 27 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ export function WebsitesDataTable({
|
|||
}) {
|
||||
const queryResult = useWebsites({ teamId });
|
||||
|
||||
if (!queryResult?.result?.data?.length) {
|
||||
if (queryResult?.result?.data?.length === 0) {
|
||||
return children;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue