diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts index 5fcb5875f..cb991cbbb 100644 --- a/app/src/card/openCard.ts +++ b/app/src/card/openCard.ts @@ -222,7 +222,7 @@ export const openCardByData = (cardsData: { label: window.siyuan.languages.fileTree, click() { movePathTo((toPath, toNotebook) => { - filterElement.setAttribute("data-id", toPath[0] === "/" ? toNotebook[0] : getDisplayName(toPath[0], true)) + filterElement.setAttribute("data-id", toPath[0] === "/" ? toNotebook[0] : getDisplayName(toPath[0], true, true)) filterElement.setAttribute("data-cardtype", toPath[0] === "/" ? "notebook" : "doc") fetchNewRound(); }, [], undefined, window.siyuan.languages.specifyPath, true)