Merge pull request #275 from reuters-graphics/mf-cleanup

Svelte 5 migration cleanup
This commit is contained in:
MinamiFunakoshiTR 2025-04-21 12:45:46 -05:00 committed by GitHub
commit b4d92cea24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

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

View file

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