Skip to content

Commit

Permalink
fix: reconfiguring N:M relation didn't reset canHoldAttrs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmate committed Jun 27, 2024
1 parent faba623 commit db9bb31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/DiagramEditor/DiagramEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,8 @@ export default function App(props) {

if (side1.endsWith(":N") && side2.endsWith(":N")) {
selectedDiag.canHoldAttributes = true;
} else {
selectedDiag.canHoldAttributes = false;
}

const label1 = accessCell(selectedDiag.side1.cell);
Expand Down

0 comments on commit db9bb31

Please sign in to comment.