0.6 rust重构01

This commit is contained in:
lix-2026
2026-04-14 13:22:29 +08:00
parent 71fb1aee7e
commit 84a8454fa9
401 changed files with 5841 additions and 1512 deletions
@@ -1431,7 +1431,11 @@ function SidebarContent({ initialData, sidebarQuery }: SidebarContentProps) {
await fetch("/api/documents/title", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ documentId, title: title.trim() }),
body: JSON.stringify({
documentId,
workspaceId: sidebarData.activeWorkspaceId ?? null,
title: title.trim(),
}),
});
await refreshTree();
},