An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://ld246.com/article/1767770694194
Vanessa8c4487fe840d
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.tsindex e10c05e6fa..088439b183 100644--- a/app/src/layout/dock/Outline.ts+++ b/app/src/layout/dock/Outline.ts@@ -617,6 +617,9 @@ export class Outline extends Model {item.classList.remove("b3-list-item--focus");});let currentElement = this.element.querySelector(`.b3-list-item[data-node-id="${id}"]`) as HTMLElement;+ if (!currentElement) {+ return;+ }if (window.siyuan.storage[Constants.LOCAL_OUTLINE].keepCurrentExpand) {let ulElement = currentElement.parentElement;while (ulElement && !ulElement.classList.contains("b3-list") && ulElement.tagName === "UL") {