mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-19 18:41:00 +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);
|
renderDoc(firstPanelElement, type === "docprevious" ? currentPage - 1 : currentPage + 1);
|
||||||
break;
|
break;
|
||||||
} else if (type === "rebuildIndex") {
|
} else if (type === "rebuildIndex") {
|
||||||
fetchPost("/api/history/reindexHistory", {}, () => {
|
fetchPost("/api/history/reindexHistory", {});
|
||||||
renderDoc(firstPanelElement, 1);
|
dialog.destroy();
|
||||||
});
|
|
||||||
break;
|
break;
|
||||||
} else if (type === "compare") {
|
} else if (type === "compare") {
|
||||||
showDiff(JSON.parse(target.getAttribute("data-ids") || "[]"));
|
showDiff(JSON.parse(target.getAttribute("data-ids") || "[]"));
|
||||||
|
Loading…
Reference in New Issue
Block a user