From eff2c3fd5c1842de520ee56f3e35675b76a825a7 Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 20 Jul 2022 13:36:57 +0200 Subject: [PATCH] fix: use is-main correctly --- src/lib/elements/table/cellText.svelte | 4 +++- .../[database]/collection/[collection]/attributes.svelte | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lib/elements/table/cellText.svelte b/src/lib/elements/table/cellText.svelte index 1c2d567ab..ded260efa 100644 --- a/src/lib/elements/table/cellText.svelte +++ b/src/lib/elements/table/cellText.svelte @@ -1,10 +1,12 @@
diff --git a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/attributes.svelte b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/attributes.svelte index 552b71e8e..a4efd6d2e 100644 --- a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/attributes.svelte +++ b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/attributes.svelte @@ -5,7 +5,8 @@ TableBody, TableRow, TableCellHead, - TableCellText + TableCellText, + TableCell } from '$lib/elements/table'; import { Button } from '$lib/elements/forms'; import { DropList, DropListItem, Empty, Pagination } from '$lib/components'; @@ -53,7 +54,7 @@ {#each $collection.attributes as attribute, index} - {attribute.key} {#if attribute.status !== 'available'} Required {/if} - + {attribute.type} {attribute.default ? attribute.default : '-'}