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: Handle missing root list element in mobile publish access
Danielbead0290454c
diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.tsindex ea5338d7e3..8388fa89ab 100644--- a/app/src/mobile/dock/MobileFiles.ts+++ b/app/src/mobile/dock/MobileFiles.ts@@ -112,7 +112,7 @@ export class MobileFiles extends Model {const rect = target.getBoundingClientRect();const rootUL = hasTopClosestByTag(target, "UL");openPublishAccessDialog(target.parentElement.getAttribute("data-type") === "navigation-root" ?- rootUL?.getAttribute("data-url") : target.parentElement.getAttribute("data-node-id"), {+ rootUL ? rootUL.getAttribute("data-url") : "" : target.parentElement.getAttribute("data-node-id"), {x: rect.left,y: rect.bottom,h: rect.height,