Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/7954

Vanessa7d8f725d8a12
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 5fcb5875fc..cb991cbbbc 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)