diff --git a/packages/twenty-front/src/modules/object-metadata/utils/formatRelationMetadataInput.ts b/packages/twenty-front/src/modules/object-metadata/utils/formatRelationMetadataInput.ts index 19ca7f64d0..94de1d58a1 100644 --- a/packages/twenty-front/src/modules/object-metadata/utils/formatRelationMetadataInput.ts +++ b/packages/twenty-front/src/modules/object-metadata/utils/formatRelationMetadataInput.ts @@ -33,24 +33,26 @@ export const formatRelationMetadataInput = ( : input.connect; const { - description, + description: fromDescription, icon: fromIcon, label: fromLabel, name: fromName, } = formatFieldMetadataItemInput(fromField); const { + description: toDescription, icon: toIcon, label: toLabel, name: toName, } = formatFieldMetadataItemInput(toField); return { - description, + fromDescription, fromIcon, fromLabel, fromName, fromObjectMetadataId, relationType, + toDescription, toIcon, toLabel, toName,