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: https://github.com/siyuan-note/siyuan/issues/18024
Vanessacc6d880aa28e
diff --git a/app/src/layout/getTopBarHeight.ts b/app/src/layout/getTopBarHeight.tsindex c449490041..5c498d5219 100644--- a/app/src/layout/getTopBarHeight.ts+++ b/app/src/layout/getTopBarHeight.ts@@ -1,3 +1,3 @@export const getTopBarHeight = () => {- return document.getElementById("sidebar") ? 0 : (document.getElementById("toolbar").clientHeight || document.querySelector(".layout-tab-bar").clientHeight);+ return document.getElementById("sidebar") ? 0 : (document.getElementById("toolbar")?.clientHeight || document.querySelector(".layout-tab-bar").clientHeight);};