mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 08:14:21 +01:00
🎨 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:
parent
a79d399f0a
commit
aa1893e3de
4 changed files with 38 additions and 3 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue