Fix relation direction on show page
This commit is contained in:
@ -72,7 +72,7 @@ export const RecordDetailRelationSection = ({
|
|||||||
|
|
||||||
// TODO: use new relation type
|
// TODO: use new relation type
|
||||||
const isToOneObject = relationType === RelationDefinitionType.ManyToOne;
|
const isToOneObject = relationType === RelationDefinitionType.ManyToOne;
|
||||||
const isToManyObjects = RelationDefinitionType.OneToMany;
|
const isToManyObjects = relationType === RelationDefinitionType.OneToMany;
|
||||||
|
|
||||||
const relationRecords: ObjectRecord[] =
|
const relationRecords: ObjectRecord[] =
|
||||||
fieldValue && isToOneObject
|
fieldValue && isToOneObject
|
||||||
|
|||||||
Reference in New Issue
Block a user