feat: increase default item count per page

This commit is contained in:
Elias Schneider
2025-03-10 12:39:42 +01:00
parent 8e344f1151
commit a9713cf6a1
2 changed files with 4 additions and 4 deletions

View File

@@ -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">