We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25932c0 commit 169da5cCopy full SHA for 169da5c
packages/payload/src/admin/components/views/collections/List/Cell/field-types/Relationship/index.tsx
@@ -48,6 +48,11 @@ const RelationshipCell: React.FC<CellComponentProps<RelationshipField | UploadFi
48
relationTo: field.relationTo,
49
value: cell,
50
})
51
+ } else if (typeof cell.id !== 'undefined' && typeof field.relationTo === 'string') {
52
+ formattedValues.push({
53
+ relationTo: field.relationTo,
54
+ value: cell.id,
55
+ })
56
}
57
58
getRelationships(formattedValues)
0 commit comments