mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00: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…
Reference in a new issue