Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16999

Vanessa0a2378c12821
diff --git a/app/src/layout/util.ts b/app/src/layout/util.ts
index c202c07002..2b452bc0ea 100644
--- a/app/src/layout/util.ts
+++ b/app/src/layout/util.ts
@@ -274,7 +274,11 @@ export const getAllLayout = () => {
};
const initInternalDock = (dockItem: Config.IUILayoutDockTab[]) => {
- dockItem.forEach((existSubItem) => {
+ dockItem.forEach((existSubItem, index) => {
+ if (window.siyuan.isPublish && existSubItem.type === "inbox") {
+ dockItem.splice(index, 1);
+ return;
+ }
if (existSubItem.hotkeyLangId) {
existSubItem.title = window.siyuan.languages[existSubItem.hotkeyLangId];
existSubItem.hotkey = window.siyuan.config.keymap.general[existSubItem.hotkeyLangId].custom;