mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +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}
|
||||
{isLoading && <Loading position="page" />}
|
||||
{!isLoading && !hasData && !query && <Empty />}
|
||||
{noResults && <Empty message={formatMessage(messages.noResultsFound)} />}
|
||||
{!isLoading && noResults && <Empty message={formatMessage(messages.noResultsFound)} />}
|
||||
</div>
|
||||
{allowPaging && hasData && (
|
||||
<Pager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue