🎨 history

This commit is contained in:
Vanessa 2023-04-22 11:55:22 +08:00
parent 7d9ed4129d
commit 26a7efea22

View file

@ -229,7 +229,7 @@ export const openHistory = () => {
let notebookSelectHTML = "";
window.siyuan.notebooks.forEach((item) => {
if (!item.closed) {
notebookSelectHTML += ` <option value="${item.id}"${item.id === window.siyuan.storage[Constants.LOCAL_HISTORYNOTEID] ? " selected" : ""}>${item.name}</option>`;
notebookSelectHTML += ` <option value="${item.id}"${item.id === window.siyuan.storage[Constants.LOCAL_HISTORYNOTEID] ? " selected" : ""}>${escapeHtml(item.name)}</option>`;
}
});
const contentHTML = `<div class="fn__flex-column" style="height: 100%;">