Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: https://github.com/siyuan-note/siyuan/issues/11205

Vanessa23de5666fba7
diff --git a/app/src/layout/dock/util.ts b/app/src/layout/dock/util.ts
index 3e03699712..ec1901605e 100644
--- a/app/src/layout/dock/util.ts
+++ b/app/src/layout/dock/util.ts
@@ -146,7 +146,7 @@ export const openOutline = async (options: {
wnd = getWndByLayout(window.siyuan.layout.centerLayout);
}
const newWnd = wnd.split("lr");
- if (options.title) {
+ if (!options.title) {
const response = await fetchSyncPost("api/block/getDocInfo", {id: options.rootId});
options.title = response.data.name || window.siyuan.languages.untitled;
}