🎨 Supports cleaning up unreferenced databases https://github.com/siyuan-note/siyuan/issues/11569

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-29 22:55:24 +08:00
parent a79d399f0a
commit aa1893e3de
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 38 additions and 3 deletions

View file

@ -580,9 +580,7 @@ const bindEvent = (app: App, element: Element, dialog?: Dialog) => {
historyPath: target.parentElement.getAttribute("data-path")
});
} else if (dataType === "av") {
// TODO
fetchPost("/api/history/rollbackDocHistory", {
notebook: target.parentElement.getAttribute("data-notebook-id"),
fetchPost("/api/history/rollbackAttributeViewHistory", {
historyPath: target.parentElement.getAttribute("data-path")
});
} else if (dataType === "notebook") {