mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-18 11:13:04 +03:00
feat: increase default item count per page
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
} = $props();
|
||||
|
||||
let searchValue = $state('');
|
||||
let availablePageSizes: number[] = [10, 20, 50, 100];
|
||||
let availablePageSizes: number[] = [20, 50, 100];
|
||||
|
||||
let allChecked = $derived.by(() => {
|
||||
if (!selectedIds || items.data.length === 0) return false;
|
||||
@@ -101,8 +101,8 @@
|
||||
|
||||
{#if items.data.length === 0 && searchValue === ''}
|
||||
<div class="my-5 flex flex-col items-center">
|
||||
<Empty class="h-20 text-muted-foreground" />
|
||||
<p class="mt-3 text-sm text-muted-foreground">No items found</p>
|
||||
<Empty class="text-muted-foreground h-20" />
|
||||
<p class="text-muted-foreground mt-3 text-sm">No items found</p>
|
||||
</div>
|
||||
{:else}
|
||||
<Table.Root class="min-w-full table-auto overflow-x-auto">
|
||||
|
||||
Reference in New Issue
Block a user