mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
4529221ab2
commit
7d8f725d8a
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ export const openCardByData = (cardsData: {
|
||||||
label: window.siyuan.languages.fileTree,
|
label: window.siyuan.languages.fileTree,
|
||||||
click() {
|
click() {
|
||||||
movePathTo((toPath, toNotebook) => {
|
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")
|
filterElement.setAttribute("data-cardtype", toPath[0] === "/" ? "notebook" : "doc")
|
||||||
fetchNewRound();
|
fetchNewRound();
|
||||||
}, [], undefined, window.siyuan.languages.specifyPath, true)
|
}, [], undefined, window.siyuan.languages.specifyPath, true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue