diff --git a/app/src/menus/onGetnotebookconf.ts b/app/src/menus/onGetnotebookconf.ts index def992325..db88c429f 100644 --- a/app/src/menus/onGetnotebookconf.ts +++ b/app/src/menus/onGetnotebookconf.ts @@ -22,7 +22,14 @@ declare interface INotebookConf { export const genNotebookOption = (id: string) => { let html = ``; + const helpIds: string[] = []; + Object.keys(Constants.HELP_PATH).forEach((key: "zh_CN") => { + helpIds.push(Constants.HELP_PATH[key]); + }); window.siyuan.notebooks.forEach((item) => { + if (helpIds.includes(item.id)) { + return; + } html += ``; }); return html;