diff --git a/packages/bbui/src/Table/CellRenderer.svelte b/packages/bbui/src/Table/CellRenderer.svelte
index 49d7264671..89f7e8716d 100644
--- a/packages/bbui/src/Table/CellRenderer.svelte
+++ b/packages/bbui/src/Table/CellRenderer.svelte
@@ -11,22 +11,23 @@
export let customRenderers = []
const plainTypes = ["string", "options", "number", "longform"]
+ const typeMap = {
+ boolean: BooleanRenderer,
+ datetime: DateTimeRenderer,
+ link: RelationshipRenderer,
+ attachment: AttachmentRenderer,
+ string: StringRenderer,
+ options: StringRenderer,
+ number: StringRenderer,
+ longform: StringRenderer,
+ }
$: type = schema?.type ?? "string"
$: customRenderer = customRenderers?.find(x => x.column === schema?.name)
+ $: renderer = customRenderer?.component ?? typeMap[type]
-{#if value != null && value !== ''}
- {#if customRenderer}
-