mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-19 02:21:38 +08:00
This commit is contained in:
parent
e1375fd4f5
commit
aa47da6ad0
@ -606,9 +606,8 @@ export const openHistory = () => {
|
||||
renderDoc(firstPanelElement, type === "docprevious" ? currentPage - 1 : currentPage + 1);
|
||||
break;
|
||||
} else if (type === "rebuildIndex") {
|
||||
fetchPost("/api/history/reindexHistory", {}, () => {
|
||||
renderDoc(firstPanelElement, 1);
|
||||
});
|
||||
fetchPost("/api/history/reindexHistory", {});
|
||||
dialog.destroy();
|
||||
break;
|
||||
} else if (type === "compare") {
|
||||
showDiff(JSON.parse(target.getAttribute("data-ids") || "[]"));
|
||||
|
Loading…
Reference in New Issue
Block a user