Skip to content
Snippets Groups Projects

Fix/schema pop up relationship showing attr

Merged Marcos Pieras requested to merge fix/SchemaPopUpRelationshipShowingAttr into main
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -82,9 +82,9 @@ export const SchemaListRelationPill = React.memo(({ id, selected, data, ...props
<VisualizationTooltip name={data.collection} colorHeader={'hsl(var(--clr-relation))'}>
<SchemaPopUp
data={
data.attributes.length > 0
? data.attributes.reduce(
(acc, attr) => {
Object.entries(data.attributes).length > 0
? Object.entries(data.attributes).reduce(
(acc, [key, attr]) => {
if (attr.name && attr.type) {
acc[attr.name] = attr.type;
}
Loading