An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/7726
Vanessa98119feb2ac9
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 2ca818c473..439e136c6a 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -560,10 +560,9 @@ export class Files extends Model {notebook: toURL}, () => {if (hasMove) {- // 移动并排序后,会推送 moveDoc,但此时还没有 sort。 https://github.com/siyuan-note/siyuan/issues/4270fetchPost("/api/filetree/listDocsByPath", {notebook: toURL,- path: pathPosix().dirname(toPath),+ path: toDir === "/" ? "/" : toDir + ".sy",sort: window.siyuan.config.fileTree.sort,}, response => {if (response.data.path === "/" && response.data.files.length === 0) {