diff --git a/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationSection.tsx b/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationSection.tsx index edd49b3f8..4e2d19403 100644 --- a/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationSection.tsx +++ b/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationSection.tsx @@ -72,7 +72,7 @@ export const RecordDetailRelationSection = ({ // TODO: use new relation type const isToOneObject = relationType === RelationDefinitionType.ManyToOne; - const isToManyObjects = RelationDefinitionType.OneToMany; + const isToManyObjects = relationType === RelationDefinitionType.OneToMany; const relationRecords: ObjectRecord[] = fieldValue && isToOneObject