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:
Vanessa0f4de03dec44
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 2f882c186d..c5c114c147 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -1104,6 +1104,9 @@ data-type="navigation-root" data-path="/">return;}const liElement = this.element.querySelector(`ul[data-url="${data.box}"] li[data-path="${data.path}"]`);+ if (!liElement) {+ return;+ }if (liElement.nextElementSibling && liElement.nextElementSibling.tagName === "UL") {// 文件展开时,刷新liElement.nextElementSibling.remove();