We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e3d467 commit aa7a44dCopy full SHA for aa7a44d
packages/compass-data-modeling/src/components/drawer/collection-drawer-content.tsx
@@ -123,14 +123,21 @@ const CollectionDrawerContent: React.FunctionComponent<
123
) : (
124
<ul className={relationshipsListStyles}>
125
{relationships.map((r) => {
126
+ const relationshipLabel = getDefaultRelationshipName(
127
+ r.relationship
128
+ );
129
+
130
return (
131
<li
132
key={r.id}
133
data-relationship-id={r.id}
134
className={relationshipItemStyles}
135
>
- <span className={relationshipNameStyles}>
- {getDefaultRelationshipName(r.relationship)}
136
+ <span
137
+ className={relationshipNameStyles}
138
+ title={relationshipLabel}
139
+ >
140
+ {relationshipLabel}
141
</span>
142
<IconButton
143
aria-label="Edit relationship"
0 commit comments