fix: formatting

This commit is contained in:
Philipp Dormann 2023-04-12 19:56:29 +02:00
parent 52a02c82d2
commit 9def0b27c9
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
2 changed files with 69 additions and 70 deletions

View File

@ -214,7 +214,7 @@
/>
</th>
{#each headerGroup.headers as header}
<TableHeader {header}></TableHeader>
<TableHeader {header} />
{/each}
</tr>
{/each}
@ -245,7 +245,6 @@
</table>
</div>
<div class="h-2" />
{/if}
{/if}
<TableBottom {table} {selected}></TableBottom>
<TableBottom {table} {selected} />

View File

@ -1,8 +1,8 @@
<script>
export let table;
export let selected;
</script>
<div class="flex items-center gap-2">
<button
class="border rounded p-1"
@ -63,9 +63,9 @@
<option value={pageSize}>{pageSize}</option>
{/each}
</select>
</div>
<!-- <pre>{JSON.stringify($table.getState(), null, 2)}</pre> -->
<div>
</div>
<!-- <pre>{JSON.stringify($table.getState(), null, 2)}</pre> -->
<div>
{Object.keys(selected).length} of{" "}
{$table.getPreFilteredRowModel().rows.length} Total Rows Selected
</div>
</div>