fix bindable vars in Table

This commit is contained in:
MinamiFunakoshiTR 2025-04-21 12:04:48 -04:00
parent 000b02fb7d
commit 6fc0d6534a
Failed to extract signature
2 changed files with 4 additions and 4 deletions

View file

@ -285,8 +285,8 @@
<Pagination
bind:pageNumber
bind:pageSize
bind:pageLength={currentPageData.length}
bind:n={sortedData.length}
pageLength={currentPageData.length}
n={sortedData.length}
/>{/if}
</div>
</Block>

View file

@ -25,8 +25,8 @@
let {
pageNumber = $bindable(1),
pageSize = $bindable(25),
pageLength = $bindable(1),
n = $bindable(1),
pageLength = 1,
n = 1,
}: Props = $props();
let minRow = $derived(pageNumber * pageSize - pageSize + 1);