mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 02:04:20 +01:00
This commit is contained in:
parent
3e8e09ff59
commit
0a2378c128
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue