Skip to content

Commit 3cbf9f0

Browse files
authored
Merge pull request #61 from LIDSOL/fix-view-notation
Fix: notation options are now enabled
2 parents b98cbc7 + 2ea70a7 commit 3cbf9f0

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/components/EditorHeader/ControlPanel.jsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,17 +1522,20 @@ export default function ControlPanel({
15221522
notation: {
15231523
children: [
15241524
{
1525-
default_notation: () => {
1525+
name: "Default",
1526+
function: () => {
15261527
setSettings((prev) => ({ ...prev, notation: Notation.DEFAULT }));
15271528
},
15281529
},
15291530
{
1530-
crows_foot_notation: () => {
1531+
name: "Crow's Foot",
1532+
function: () => {
15311533
setSettings((prev) => ({ ...prev, notation: Notation.CROWS_FOOT }));
15321534
},
15331535
},
15341536
{
1535-
idef1x_notation: () => {
1537+
name: "IDEF1X",
1538+
function: () => {
15361539
setSettings((prev) => ({ ...prev, notation: Notation.IDEF1X }));
15371540
},
15381541
},

0 commit comments

Comments
 (0)