diff --git a/src/routes/console/[project]/database/collection/[collection]/index.svelte b/src/routes/console/[project]/database/collection/[collection]/index.svelte index 4759c2f88..75ad974b3 100644 --- a/src/routes/console/[project]/database/collection/[collection]/index.svelte +++ b/src/routes/console/[project]/database/collection/[collection]/index.svelte @@ -16,6 +16,7 @@ import { base } from '$app/paths'; let offset = 0; + let search = ''; const limit = 12; const project = $page.params.project; @@ -31,12 +32,24 @@ -

Documents

{#await request}
{:then response} +
+
+ +
+ +
{#if response.total} -

{response.total} documents found

{#each columns as column} @@ -58,16 +71,26 @@
- +
+

Total results: {response.total}

+ +
{:else} - - No Documents Found - Add your first document to get started. + +
+
+ +
+
+

Crate your first document to get started

+
+
+ +
+
{/if} - {/await}