The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat: save Relation field description on creation (#2940)
Thaïs6792724281a6
diff --git a/packages/twenty-front/src/modules/object-metadata/utils/formatRelationMetadataInput.ts b/packages/twenty-front/src/modules/object-metadata/utils/formatRelationMetadataInput.tsindex 19ca7f64d0b..94de1d58a11 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,