diff --git a/packages/builder/src/components/backend/DataTable/cells/RelationshipCell.svelte b/packages/builder/src/components/backend/DataTable/cells/RelationshipCell.svelte index 2d85a184d9..0aae16f3db 100644 --- a/packages/builder/src/components/backend/DataTable/cells/RelationshipCell.svelte +++ b/packages/builder/src/components/backend/DataTable/cells/RelationshipCell.svelte @@ -11,7 +11,7 @@ class:link={!!items.length} on:click={() => selectRelationship(row, columnName)}> {#each items as item} -
{item}
+
{item?.primaryDisplay ?? ''}
{/each} diff --git a/packages/standard-components/src/grid/Relationship/RelationshipCount.svelte b/packages/standard-components/src/grid/Relationship/RelationshipLabel.svelte similarity index 91% rename from packages/standard-components/src/grid/Relationship/RelationshipCount.svelte rename to packages/standard-components/src/grid/Relationship/RelationshipLabel.svelte index 6a96a0b90b..550dedc419 100644 --- a/packages/standard-components/src/grid/Relationship/RelationshipCount.svelte +++ b/packages/standard-components/src/grid/Relationship/RelationshipLabel.svelte @@ -7,7 +7,7 @@
{#each items as item} -
{item}
+
{item?.primaryDisplay}
{/each}