This commit is contained in:
Vanessa 2022-08-30 21:22:59 +08:00
parent 71d73a9295
commit 320353d51a

View file

@ -355,7 +355,7 @@ export const openHistory = () => {
});
} else if (dataType === "doc") {
fetchPost("/api/history/rollbackDocHistory", {
notebook: (firstPanelElement.querySelectorAll(".b3-select")[1] as HTMLSelectElement).value,
notebook: (firstPanelElement.querySelector('.b3-select[data-type="notebookselect"]') as HTMLSelectElement).value,
historyPath: target.parentElement.getAttribute("data-path")
});
} else if (dataType === "notebook") {