Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix https://github.com/siyuan-note/siyuan/issues/7375#issuecomment-1434229252

Vanessa81f2cc20562b
diff --git a/app/src/layout/status.ts b/app/src/layout/status.ts
index da20ac48eb..0d1dae4beb 100644
--- a/app/src/layout/status.ts
+++ b/app/src/layout/status.ts
@@ -47,7 +47,7 @@ export const initStatus = (isWindow = false) => {
document.querySelectorAll(".dock").forEach(item => {
if (dockIsShow) {
item.classList.add("fn__none");
- } else if (item.querySelectorAll(".dock__item").length > 1) {
+ } else if (item.querySelectorAll(".dock__item").length > 0) {
item.classList.remove("fn__none");
}
});