Skip to content

Commit f0cf9c9

Browse files
Update packages/compass-data-modeling/src/utils/nodes-and-edges.ts
Co-authored-by: Copilot <[email protected]>
1 parent 5ee336c commit f0cf9c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-data-modeling/src/utils/nodes-and-edges.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export function relationshipToDiagramEdge(
208208
source: source.ns ?? '',
209209
target: target.ns ?? '',
210210
sourceFieldId: source.fields || [],
211-
targetFieldId: target.fields || [],
211+
targetFieldId: target.fields ?? [],
212212
markerStart: source.cardinality === 1 ? 'one' : 'many',
213213
markerEnd: target.cardinality === 1 ? 'one' : 'many',
214214
selected,

0 commit comments

Comments
 (0)