diff --git a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/indexes.svelte b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/indexes.svelte index 8609ddaff..89d88083c 100644 --- a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/indexes.svelte +++ b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/indexes.svelte @@ -2,6 +2,7 @@ import { page } from '$app/stores'; import { Empty, Pagination, Search, DropList, DropListItem } from '$lib/components'; import { Button } from '$lib/elements/forms'; + import { Pill } from '$lib/elements'; import { Table, TableHeader, @@ -11,7 +12,6 @@ TableCellText, TableRow } from '$lib/elements/table'; - // import Create from './_createUser.svelte'; import { Container } from '$lib/layout'; import { indexList, collection } from './store'; import { onMount } from 'svelte'; @@ -79,7 +79,18 @@ {#each $indexList.indexes as index, i} - {index.key} +
+ {index.key} + {#if index.status !== 'available'} + + {index.status} + + {/if} +
{index.type} @@ -157,7 +168,7 @@

Create your first attribute to get started

- +