🎨 Support for opening file history on the doc tree https://github.com/siyuan-note/siyuan/issues/8448

This commit is contained in:
Daniel 2023-06-04 09:35:48 +08:00
parent abf7b57827
commit 17d8c79057
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 8 additions and 7 deletions

View file

@ -139,7 +139,7 @@ export const openDocHistory = (options: {
event.preventDefault();
break;
} else if (target.classList.contains("b3-list-item") && !isLoading) {
getHistoryPath(target, opElement.value, options.notebookId, (dataPath) => {
getHistoryPath(target, opElement.value, options.id, (dataPath) => {
fetchPost("/api/history/getDocHistoryContent", {
historyPath: dataPath,
}, (response) => {