fix: show loading when loading entry list if no local data

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-07-18 13:38:19 +08:00
parent 74e644e961
commit e91ce1dff3
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ export function EntryColumn() {
exit={{ opacity: 0.01, y: -100 }}
>
{virtuosoOptions.totalCount === 0 ? (
<EmptyList />
entries.isLoading ? <LoadingCircle className="center h-full" size="large" /> : <EmptyList />
) : view && views[view].gridMode ?
(
<VirtuosoGrid