From 0a2378c128214169cf7370a69f63f01e6aecd785 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 11 Feb 2026 11:45:50 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16999 --- app/src/layout/util.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/layout/util.ts b/app/src/layout/util.ts index c202c0700..2b452bc0e 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;