Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/8904

Vanessa6d04fdc01720
diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.ts
index 4bd77becde..3daa0e78dd 100644
--- a/app/src/layout/dock/index.ts
+++ b/app/src/layout/dock/index.ts
@@ -342,9 +342,8 @@ export class Dock {
item.parent.switchTab(item.headElement);
return true;
}
- })
+ });
}
- return;
} else {
this.element.querySelectorAll(`.dock__item--active[data-index="${index}"]`).forEach(item => {
item.classList.remove("dock__item--active", "dock__item--activefocus");