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: fix https://github.com/siyuan-note/siyuan/issues/6524
Vanessaddb214b1e83b
diff --git a/app/src/editor/util.ts b/app/src/editor/util.tsindex 4555a28176..38f6e5946a 100644--- a/app/src/editor/util.ts+++ b/app/src/editor/util.ts@@ -39,6 +39,9 @@ export const openFileById = (options: {lockFile(data.data);return;}+ if (typeof options.removeCurrentTab === "undefined") {+ options.removeCurrentTab = true;+ }openFile({fileName: data.data.rootTitle,rootIcon: data.data.rootIcon,@@ -58,7 +61,8 @@ export const openAsset = (assetPath: string, page: number | string, position?: sopenFile({assetPath,page,- position+ position,+ removeCurrentTab: true});};