mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: total results count added
This commit is contained in:
1 parent
ef1f2c127c
commit
84ad8b7bd8
1 file changed
+5
-2
@@ -2,7 +2,7 @@
|
||||
import { page } from '$app/stores';
|
||||
import { sdkForProject } from '$lib/stores/sdk';
|
||||
import { Empty, Pagination } from '$lib/components';
|
||||
import { Button, InputSearch } from '$lib/elements/forms';
|
||||
import { Button } from '$lib/elements/forms';
|
||||
import {
|
||||
Table,
|
||||
TableHeader,
|
||||
@@ -88,7 +88,10 @@
|
||||
{/each}
|
||||
</TableBody>
|
||||
</Table>
|
||||
<Pagination {limit} bind:offset sum={response.total} />
|
||||
<div class="u-flex common-section u-main-space-between">
|
||||
<p class="text">Total results: {response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={response.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
<svelte:fragment slot="header"
|
||||
|
||||
Reference in new issue
Block a user