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: Skip empty outline refresh requests https://github.com/siyuan-note/siyuan/issues/19741
Daniel6f8264ba1087
diff --git a/app/src/util/reloadSync.ts b/app/src/util/reloadSync.tsindex d9750403d8..ffc0e7adf5 100644--- a/app/src/util/reloadSync.ts+++ b/app/src/util/reloadSync.ts@@ -121,7 +121,7 @@ export const reloadSync = (allModels.outline.forEach(item => {if (item.type === "local" && data.removeRootIDs.includes(item.blockId)) {item.parent.parent.removeTab(item.parent.id, false, false);- } else if (item.type !== "local" || data.upsertRootIDs.includes(item.blockId)) {+ } else if (item.blockId && (item.type !== "local" || data.upsertRootIDs.includes(item.blockId))) {const outlineParam: IObject = {id: item.blockId,preview: item.isPreview