An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: switch tab save layout
Vanessa8cb3e0c9769d
diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.tsindex 1a7fdfce57..5b033b9d82 100644--- a/app/src/layout/Wnd.ts+++ b/app/src/layout/Wnd.ts@@ -431,6 +431,7 @@ export class Wnd {if (initData) {currentTab.addModel(newModelByInitData(this.app, currentTab, JSON.parse(initData)));currentTab.headElement.removeAttribute("data-initdata");+ saveLayout();return;}}@@ -491,6 +492,7 @@ export class Wnd {resize,});}+ saveLayout();}public addTab(tab: Tab, keepCursor = false, isSaveLayout = true) {