mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
e80c9aa66c
12 changed files with 74 additions and 72 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue