This commit is contained in:
parent
71d73a9295
commit
320353d51a
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Reference in a new issue