This commit is contained in:
parent
30d37cb0a2
commit
77c82ad73c
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ export const openHistory = () => {
|
|||
} else if (target.classList.contains("b3-list-item") && (type === "assets" || type === "doc")) {
|
||||
const dataPath = target.getAttribute("data-path");
|
||||
if (type === "assets") {
|
||||
firstPanelElement.nextElementSibling.lastElementChild.innerHTML = renderAssetsPreview(dataPath);
|
||||
firstPanelElement.lastElementChild.lastElementChild.innerHTML = renderAssetsPreview(dataPath);
|
||||
} else if (type === "doc") {
|
||||
fetchPost("/api/history/getDocHistoryContent", {
|
||||
historyPath: dataPath
|
||||
|
|
Loading…
Add table
Reference in a new issue