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:
Vanessa901ff9559b57
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 43f9d57b4c..47fc9e12b4 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -828,6 +828,9 @@ export class Files extends Model {return;}const liElement = this.element.querySelector(`ul[data-url="${data.box}"] li[data-path="${data.path}"]`);+ if (!liElement) {+ return;+ }let nextElement = liElement.nextElementSibling;if (nextElement && nextElement.tagName === "UL") {// 文件展开时,刷新