There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat(core): set the right sidebar to display TOC by default (#6503)
JimmFly8579ac63a21c
diff --git a/packages/frontend/core/src/modules/multi-tab-sidebar/view/header-switcher.tsx b/packages/frontend/core/src/modules/multi-tab-sidebar/view/header-switcher.tsxindex 13eecb6f50..07e086bf41 100644--- a/packages/frontend/core/src/modules/multi-tab-sidebar/view/header-switcher.tsx+++ b/packages/frontend/core/src/modules/multi-tab-sidebar/view/header-switcher.tsx@@ -45,6 +45,7 @@ export const MultiTabSidebarHeaderSwitcher = ({useEffect(() => {const journalExtension = tabs.find(ext => ext.name === 'journal');isJournal && journalExtension && setActiveTabName('journal');+ !isJournal && setActiveTabName('outline');}, [tabs, isJournal, setActiveTabName]);const vars = assignInlineVars({