Skip to content

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

Move timeline to settings

1ilit781b5b81434b
diff --git a/src/components/ControlPanel.jsx b/src/components/ControlPanel.jsx
index 5f8670bd..b7c9087a 100644
--- a/src/components/ControlPanel.jsx
+++ b/src/components/ControlPanel.jsx
@@ -1167,6 +1167,9 @@ export default function ControlPanel({
},
},
Settings: {
+ "Show timeline": {
+ function: () => setSidesheet(SIDESHEET.TIMELINE),
+ },
Autosave: {
function: () =>
setSettings((prev) => {
@@ -2233,14 +2236,6 @@ export default function ControlPanel({
<IconSaveStroked size="extra-large" />
</button>
</Tooltip>
- <Tooltip content="Timeline" position="bottom">
- <button
- className="py-1 px-2 hover-2 rounded text-xl"
- onClick={() => setSidesheet(SIDESHEET.TIMELINE)}
- >
- <i className="fa-solid fa-timeline"></i>
- </button>
- </Tooltip>
<Tooltip content="To-do" position="bottom">
<button
className="py-1 px-2 hover-2 rounded text-xl"