Fix table and relationhsip render order in simple canvas
This commit is contained in:
parent
6c0ebcf7bc
commit
dd4ec59e56
@ -235,12 +235,12 @@ export default function SimpleCanvas({ diagram, zoom }) {
|
||||
transform: `scale(${zoom})`,
|
||||
transformOrigin: "top left",
|
||||
}}>
|
||||
{tables.map((t, i) => (
|
||||
<Table key={i} table={t} grab={(e) => grabTable(e, i)} />
|
||||
))}
|
||||
{relationships.map((r, i) => (
|
||||
<Relationship key={i} relationship={r} />
|
||||
))}
|
||||
{tables.map((t, i) => (
|
||||
<Table key={i} table={t} grab={(e) => grabTable(e, i)} />
|
||||
))}
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user