Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: enable toc toggle on new notes (#9201)

01zulfi69ea9992cea2
diff --git a/apps/web/src/components/editor/action-bar.tsx b/apps/web/src/components/editor/action-bar.tsx
index 752fbb3e3..1ee1e6efa 100644
--- a/apps/web/src/components/editor/action-bar.tsx
+++ b/apps/web/src/components/editor/action-bar.tsx
@@ -163,7 +163,6 @@ export function EditorActionBar() {
icon: TableOfContents,
enabled:
activeSession &&
- activeSession.type !== "new" &&
activeSession.type !== "locked" &&
activeSession.type !== "diff" &&
activeSession.type !== "conflicted",