From d117ac8febe1ca1da119fd68bb4cc4264882c8a7 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 24 Dec 2024 12:03:56 +0100 Subject: [PATCH] Fix types --- packages/frontend-core/src/utils/relatedColumns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend-core/src/utils/relatedColumns.ts b/packages/frontend-core/src/utils/relatedColumns.ts index 07a9efe5d4..e7bd3662d3 100644 --- a/packages/frontend-core/src/utils/relatedColumns.ts +++ b/packages/frontend-core/src/utils/relatedColumns.ts @@ -90,7 +90,7 @@ export function enrichSchemaWithRelColumns( export function getRelatedTableValues( row: Row, - field: UIFieldSchema, + field: UIFieldSchema & { related: { field: string; subField: string } }, fromField: UIFieldSchema ) { const fromSingle =