mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
fix loading spinner / no results bug
This commit is contained in:
parent
f9c7129a3e
commit
ae3888ced8
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ export function DataTable({
|
||||||
{hasData ? (typeof children === 'function' ? children(result) : children) : null}
|
{hasData ? (typeof children === 'function' ? children(result) : children) : null}
|
||||||
{isLoading && <Loading position="page" />}
|
{isLoading && <Loading position="page" />}
|
||||||
{!isLoading && !hasData && !query && <Empty />}
|
{!isLoading && !hasData && !query && <Empty />}
|
||||||
{noResults && <Empty message={formatMessage(messages.noResultsFound)} />}
|
{!isLoading && noResults && <Empty message={formatMessage(messages.noResultsFound)} />}
|
||||||
</div>
|
</div>
|
||||||
{allowPaging && hasData && (
|
{allowPaging && hasData && (
|
||||||
<Pager
|
<Pager
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue