Skip to content

Free, simple, and intuitive online database diagram editor and SQL generator.

Fix to show the state of field summary in setting

haecheonleea193bf6a48f8
diff --git a/src/components/EditorHeader/ControlPanel.jsx b/src/components/EditorHeader/ControlPanel.jsx
index 9d064b68..5ebabd94 100644
--- a/src/components/EditorHeader/ControlPanel.jsx
+++ b/src/components/EditorHeader/ControlPanel.jsx
@@ -1024,7 +1024,7 @@ export default function ControlPanel({
},
},
"Field details": {
- state: layout.showFieldSummary ? "on" : "off",
+ state: settings.showFieldSummary ? "on" : "off",
function: viewFieldSummary,
shortcut: "Ctrl+Shift+F",
},