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: fix https://github.com/siyuan-note/siyuan/issues/7272
Vanessaaefd33d6b8fc
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.tsindex 81bf832ff4..d58862c051 100644--- a/app/src/protyle/breadcrumb/index.ts+++ b/app/src/protyle/breadcrumb/index.ts@@ -76,13 +76,18 @@ export class Breadcrumb {event.preventDefault();break;} else if (target.getAttribute("data-type") === "context") {+ event.preventDefault();+ if (protyle.block.rootID === protyle.options.blockId) {+ target.classList.toggle("block__icon--active")+ return;+ }if (target.classList.contains("block__icon--active")) {fetchPost("/api/filetree/getDoc", {id: protyle.options.blockId,mode: 0,size: window.siyuan.config.editor.dynamicLoadBlocks,}, getResponse => {- onGet(getResponse, protyle);+ onGet(getResponse, protyle, [Constants.CB_GET_ALL]);});target.classList.remove("block__icon--active");} else {@@ -95,7 +100,6 @@ export class Breadcrumb {});target.classList.add("block__icon--active");}- event.preventDefault();break;}target = target.parentElement;