This commit is contained in:
Vanessa 2023-03-24 11:24:44 +08:00
parent 7e8c1b39d7
commit 9e51621c68
12 changed files with 45 additions and 23 deletions

View file

@ -137,7 +137,7 @@ export const initNavigationMenu = (liElement: HTMLElement) => {
iconHTML: Constants.ZWSP,
label: window.siyuan.languages.mgmt,
click: () => {
viewCards(notebookId, escapeHtml(name), "Notebook");
viewCards(notebookId, name, "Notebook");
/// #if MOBILE
closePanel();
/// #endif
@ -346,7 +346,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
iconHTML: Constants.ZWSP,
label: window.siyuan.languages.mgmt,
click: () => {
viewCards(id, name, "Tree");
viewCards(id, pathPosix().join(getNotebookName(notebookId), name), "Tree");
/// #if MOBILE
closePanel();
/// #endif