From 084b2c3dd0cd3baf8af684c9e595f9d3154fbb9f Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 28 May 2025 19:32:54 +0530 Subject: [PATCH] fix: data shown on column for related table. --- .../database-[database]/collection-[collection]/table.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/table.svelte b/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/table.svelte index dbdb5ec41..7dc12a294 100644 --- a/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/table.svelte +++ b/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/table.svelte @@ -199,7 +199,7 @@ {@const attr = $attributes.find((n) => n.key === id)} {#if isRelationship(attr)} - {@const args = displayNames?.[attr.relatedCollection] ?? ['$id']} + {@const args = displayNames?.[attr.relatedCollection] ?? ['name']} {#if !isRelationshipToMany(attr)} {#if document[id]} {@const related = document[id]}