From 7d8f725d8a12d28410ebc1b626372d90a161a308 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 14 Apr 2023 16:44:42 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/7954 --- app/src/card/openCard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)