import changelogManager from "../changelog/changelogManager.js" let cache = {} export function changelogHistory() { // blockId 0 if (cache['0']) return cache['0']; let history = changelogManager("history"); let render = ``; let historyLen = history.length; for (let i in history) { let separator = (i !== 0 && i !== historyLen) ? '
' : ''; render += `${separator}${history[i]["banner"] ? `
` : ''}` } cache['0'] = render; return render; }